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

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

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