Skip to content

Commit c05b299

Browse files
committed
fix(web): only exclude ban-conditions.test.ts from Jest, not entire lib/__tests__
agent-tree.test.ts uses Jest globals and should run in CI
1 parent 92d99ee commit c05b299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/jest.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const config = {
1919
},
2020
testPathIgnorePatterns: [
2121
'<rootDir>/src/__tests__/e2e',
22-
'<rootDir>/src/lib/__tests__', // Uses bun:test mock.module() - run with bun test
22+
'<rootDir>/src/lib/__tests__/ban-conditions\\.test\\.ts', // Uses bun:test mock.module() - run with bun test
2323
'<rootDir>/src/app/api/v1/.*/__tests__',
2424
'<rootDir>/src/app/api/agents/publish/__tests__',
2525
'<rootDir>/src/app/api/agents/\\[publisherId\\]/.*/__tests__',

0 commit comments

Comments
 (0)