Download next.js/test/development/next-config-ts/turbo/index.test.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 376 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/next-config-ts/turbo/index.test.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/next-config-ts/turbo/index.test.ts
-
curl -L -o index.test.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/next-config-ts/turbo/index.test.ts
376 Bytes
| import { nextTestSetup } from 'e2e-utils' | |
| describe('next-config-ts - turbopack', () => { | |
| const { next } = nextTestSetup({ | |
| files: __dirname, | |
| // explicitly ensure that turbopack is used | |
| startCommand: 'pnpm next dev --turbo', | |
| }) | |
| it('should work with Turbopack', async () => { | |
| const $ = await next.render$('/') | |
| expect($('p').text()).toBe('foo') | |
| }) | |
| }) | |