mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
16 lines
393 B
TypeScript
16 lines
393 B
TypeScript
import { nextTestSetup } from 'e2e-utils'
|
|
|
|
describe('next-config-ts-import-alias-paths-with-baseurl-cjs', () => {
|
|
const { next } = nextTestSetup({
|
|
files: __dirname,
|
|
dependencies: {
|
|
typescript: '5.9.3',
|
|
},
|
|
})
|
|
|
|
it('should support import alias paths with baseUrl (CJS)', async () => {
|
|
const $ = await next.render$('/')
|
|
expect($('p').text()).toBe('foobar')
|
|
})
|
|
})
|