diff --git a/contributing/core/testing.md b/contributing/core/testing.md index d31a0626dd50..3db9581ff87b 100644 --- a/contributing/core/testing.md +++ b/contributing/core/testing.md @@ -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 ...` @@ -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.* diff --git a/test/e2e/new-link-behavior/material-ui.test.ts b/test/e2e/new-link-behavior/material-ui.test.ts index acb9f241f954..c024acf58862 100644 --- a/test/e2e/new-link-behavior/material-ui.test.ts +++ b/test/e2e/new-link-behavior/material-ui.test.ts @@ -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', }, })