Download next.js/test/production/app-dir/barrel-optimization/mui/index.test.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 566 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/production/app-dir/barrel-optimization/mui/index.test.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/production/app-dir/barrel-optimization/mui/index.test.ts
-
curl -L -o index.test.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/production/app-dir/barrel-optimization/mui/index.test.ts
566 Bytes
| import { nextTestSetup } from 'e2e-utils' | |
| describe('Skipped in Turbopack', () => { | |
| describe('app-dir - optimizePackageImports - mui', () => { | |
| const { next } = nextTestSetup({ | |
| files: __dirname, | |
| dependencies: { | |
| '@mui/material': '5.15.15', | |
| '@emotion/react': '11.11.1', | |
| '@emotion/styled': '11.11.0', | |
| }, | |
| }) | |
| it('should build successfully', async () => { | |
| // Ensure that MUI is working | |
| const $ = await next.render$('/') | |
| expect(await $('#typography').text()).toContain('typography') | |
| }) | |
| }) | |
| }) | |