mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
21 lines
464 B
TypeScript
21 lines
464 B
TypeScript
import { nextTestSetup } from 'e2e-utils'
|
|
|
|
describe('turbopack-reports', () => {
|
|
const { next } = nextTestSetup({
|
|
files: __dirname,
|
|
dependencies: {
|
|
sqlite3: '5.1.7',
|
|
},
|
|
packageJson: {
|
|
pnpm: {
|
|
onlyBuiltDependencies: ['sqlite3'],
|
|
},
|
|
},
|
|
})
|
|
|
|
it('should render page importing sqlite3', async () => {
|
|
const $ = await next.render$('/sqlite-import-5913')
|
|
expect($('#message').text()).toBe('Hello World')
|
|
})
|
|
})
|