Download next.js/test/production/app-dir/mangle-reserved/mangle-reserved.test.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/production/app-dir/mangle-reserved/mangle-reserved.test.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/production/app-dir/mangle-reserved/mangle-reserved.test.ts
-
curl -L -o mangle-reserved.test.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/production/app-dir/mangle-reserved/mangle-reserved.test.ts
281 Bytes
| import { nextTestSetup } from 'e2e-utils' | |
| describe('mangle-reserved', () => { | |
| const { next } = nextTestSetup({ | |
| files: __dirname, | |
| }) | |
| it('should preserve the name', async () => { | |
| const $ = await next.render$('/') | |
| expect($('p').text()).toBe('AbortSignal') | |
| }) | |
| }) | |