MCPcopy
hub / github.com/vercel/next.js / dev

Function dev

test/integration/invalid-server-options/test/index.test.ts:63–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls 1

logMethod · 0.45

Tested by

no test coverage detected