next.js/test/e2e/app-dir/next-config/index.test.ts
index.test.ts14 lines364 B
import { nextTestSetup } from 'e2e-utils'

describe('app dir - next config', () => {
  const { next } = nextTestSetup({
    files: __dirname,
  })

  // https://github.com/vercel/next.js/issues/52366
  it('should support importing webpack in next.config', async () => {
    const html = await next.render('/')
    expect(html).toContain('hello from page')
  })
})
Quest for Codev2.0.0
/
SIGN IN