Skip to content

Commit 5ec870d

Browse files
romtsnclaude
andcommitted
fix(jest): Use relative path for setupFiles in Jest 30
Jest 30 no longer resolves <rootDir>/setupTests.js correctly, causing CI failures on the release branch. Use ./setupTests.js instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d21c286 commit 5ec870d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jest.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module.exports = {
22
collectCoverage: true,
33
testEnvironment: 'node',
4-
setupFiles: ['<rootDir>/setupTests.js'],
5-
testPathIgnorePatterns: ['<rootDir>/src/', '<rootDir>/tests/integration/'],
4+
setupFiles: ['./setupTests.js'],
5+
testPathIgnorePatterns: ['./src/', './tests/integration/'],
66
transform: {
77
'^.+\\.ts$': 'ts-jest',
88
},

0 commit comments

Comments
 (0)