tolulope-od/banka

View on GitHub
test/miscellaneous.test.js

Summary

Maintainability
A
0 mins
Test Coverage
import chai from 'chai';
import { isEmpty } from '../server/validation/authValidation';

const { expect } = chai;

/* global it, describe */

/**
 * @description test for helper function
 */
describe('Helper Function', () => {
  it('Should return true for an empty string', () => {
    const emptyString = isEmpty(' ');
    expect(emptyString).to.equal(true);
  });
});