Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions contributing/core/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const { next } = nextTestSetup({
})
```

Consider also sett `NEXT_E2E_TEST_TIMEOUT=0`
Consider also setting `NEXT_E2E_TEST_TIMEOUT=0`

To debug the test process itself you need to pass the `inspect` flag to the node process running jest. e.g. `IS_TURBOPACK_TEST=1 TURBOPACK_DEV=1 NEXT_TEST_MODE=dev node --inspect node_modules/jest/bin/jest.js ...`

Expand All @@ -130,7 +130,7 @@ To run the test suite using Turbopack, you can use the `-turbo` version of the n
pnpm test-dev-turbo test/e2e/app-dir/app/
```

If you want to run a test again both Turbopack and Webpack, use Jest's `--projects` flag:
If you want to run a test against both Turbopack and Webpack, use Jest's `--projects` flag:

```sh
pnpm test-dev test/e2e/app-dir/app/ --projects jest.config.*
Expand Down
14 changes: 7 additions & 7 deletions test/e2e/new-link-behavior/material-ui.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ describe('New Link Behavior with material-ui', () => {
'next.config.js': new FileRef(path.join(appDir, 'next.config.js')),
},
dependencies: {
'@emotion/cache': 'latest',
'@emotion/react': 'latest',
'@emotion/server': 'latest',
'@emotion/styled': 'latest',
'@mui/icons-material': 'latest',
'@mui/material': 'latest',
'prop-types': 'latest',
'@emotion/cache': '11.10.5',
'@emotion/react': '11.10.6',
'@emotion/server': '11.10.0',
'@emotion/styled': '11.10.6',
'@mui/icons-material': '5.11.16',
'@mui/material': '5.11.16',
'prop-types': '15.8.1',
},
})

Expand Down
Loading