Skip to content

Commit b87f361

Browse files
committed
test: use single file tests as jest entries
1 parent 0a7efe7 commit b87f361

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/rspack-test/jest.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ const wasmConfig = process.env.WASM && {
1212
setupFilesAfterEnv: [...setupFilesAfterEnv, "@rspack/test-tools/setup-wasm"],
1313
testPathIgnorePatterns: [
1414
// Skip because they reply on snapshots
15-
"Diagnostics.test.js",
16-
"Error.test.js",
17-
"StatsAPI.test.js",
18-
"StatsOutput.test.js",
15+
"<rootDir>/compilerCases/*.js",
16+
"<rootDir>/errorCases/*.js",
17+
"<rootDir>/statsAPICases/*.js",
18+
"<rootDir>/defaultsCases/*/*.js",
1919

2020
// Skip temporarily and should investigate in the future
2121
"Defaults.test.js",

0 commit comments

Comments
 (0)