| 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(); | |
| }); | |
| }); | |
| 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(); | |
| }); | |
| }); | |