next.js/test/e2e/app-dir/next-config-ts/import-alias-paths-only/next-config-ts-import-alias-paths-only-cjs.test.ts
next-config-ts-import-alias-paths-only-cjs.test.ts13 lines320 B
import { nextTestSetup } from 'e2e-utils'

describe('next-config-ts-import-alias-paths-only-cjs', () => {
  const { next } = nextTestSetup({
    files: __dirname,
  })

  it('should support import alias paths only (CJS)', async () => {
    const $ = await next.render$('/')
    expect($('p').text()).toBe('foo')
  })
})
Quest for Codev2.0.0
/
SIGN IN