Unverified Commit e8185694 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[test] Fix test-dev with --projects (#85167)

parent 5b583052
...@@ -5,7 +5,7 @@ const createJestConfig = nextJest() ...@@ -5,7 +5,7 @@ const createJestConfig = nextJest()
// Any custom config you want to pass to Jest // Any custom config you want to pass to Jest
/** @type {import('jest').Config} */ /** @type {import('jest').Config} */
const customJestConfig = { const customJestConfig = {
displayName: process.env.TURBOPACK ? 'turbopack' : 'default', displayName: process.env.IS_WEBPACK_TEST ? 'webpack' : 'Turbopack',
testMatch: ['**/*.test.js', '**/*.test.ts', '**/*.test.jsx', '**/*.test.tsx'], testMatch: ['**/*.test.js', '**/*.test.ts', '**/*.test.jsx', '**/*.test.tsx'],
setupFilesAfterEnv: ['<rootDir>/jest-setup-after-env.ts'], setupFilesAfterEnv: ['<rootDir>/jest-setup-after-env.ts'],
verbose: true, verbose: true,
......
process.env.IS_TURBOPACK_TEST = '1' process.env.IS_TURBOPACK_TEST = '1'
delete process.env.IS_WEBPACK_TEST
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment