()
| 61 | test('next() called with dev as function should send warning', () => { |
| 62 | const consoleSpy = jest.spyOn(console, 'warn') |
| 63 | const dev: any = () => console.log('test') |
| 64 | next({ dev, dir }) |
| 65 | |
| 66 | expect(consoleSpy).toHaveBeenCalledWith(warningMessage) |