next.js/test/e2e/app-dir/next-config-ts/nested-imports/next-config-ts-nested-imports-cjs.test.ts
next-config-ts-nested-imports-cjs.test.ts13 lines307 B
import { nextTestSetup } from 'e2e-utils'

describe('next-config-ts-nested-imports-cjs', () => {
  const { next } = nextTestSetup({
    files: __dirname,
  })

  it('should handle nested imports (CJS)', async () => {
    const $ = await next.render$('/')
    expect($('p').text()).toBe('foobarbaz')
  })
})
Quest for Codev2.0.0
/
SIGN IN