Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

Commit 77d1fc4

Browse files
committed
fix: scope jest test discovery to project test directory
Jest was discovering and running tests from .claude/worktrees/ alongside the main test/ directory, causing duplicate fixture inserts against the same test database and ER_DUP_ENTRY failures.
1 parent a89b48b commit 77d1fc4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

jest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55

66
export default {
7+
roots: ['<rootDir>/test'],
78
clearMocks: true,
89
collectCoverage: true,
910
collectCoverageFrom: ['./src/**'],

0 commit comments

Comments
 (0)