File size: 272 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import noop from '../../utils/noop';
describe('noop', () => {
it('should be a function', () => {
expect(noop instanceof Function).toBeTruthy();
});
it('should return undefined', () => {
const result = noop();
expect(result).toBeUndefined();
});
});
|