mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
ca1b6184c8
### Why? Less indentation and allows for IDE integration. Closes PACK-2523
13 lines
274 B
TypeScript
13 lines
274 B
TypeScript
import { nextTestSetup } from 'e2e-utils'
|
|
|
|
describe('nextTestSetup', () => {
|
|
const { next } = nextTestSetup({
|
|
files: __dirname,
|
|
})
|
|
|
|
it('should work', async () => {
|
|
const res = await next.fetch('/')
|
|
expect(await res.text()).toContain('Hello World')
|
|
})
|
|
})
|