Skip to content

Commit 5fb3d75

Browse files
committed
fix tests
Signed-off-by: Tiger Kaovilai <[email protected]>
1 parent b3700ae commit 5fb3d75

File tree

4 files changed

+325
-4
lines changed

4 files changed

+325
-4
lines changed

jest.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ const config: Config = {
1414
testEnvironment: 'node',
1515
testRegex: ['.*\\.test\\.ts$'],
1616
transformIgnorePatterns: ['node_modules/(?!cli-testing-library)'],
17+
18+
// Tell Jest to ignore the specific duplicate package.json files
19+
// that are causing Haste module naming collisions
20+
modulePathIgnorePatterns: [
21+
'<rootDir>/test/e2e/prompt-module/data/commitlint_18/',
22+
'<rootDir>/test/e2e/prompt-module/data/commitlint_19/'
23+
],
1724
transform: {
1825
'^.+\\.(ts|tsx)$': [
1926
'ts-jest',

0 commit comments

Comments
 (0)