Skip to content

Commit fa8f915

Browse files
committed
fix(web): exclude healthz test from Jest to fix CI failure
The healthz test uses bun:test and NextResponse.json() which requires Web API globals (Request) not available in Jest jsdom environment. Other API route tests are already excluded from Jest for similar reasons.
1 parent 25c5a3b commit fa8f915

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/jest.config.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const config = {
2323
'<rootDir>/src/lib/__tests__/ban-conditions.test.ts',
2424
'<rootDir>/src/app/api/v1/.*/__tests__',
2525
'<rootDir>/src/app/api/agents/publish/__tests__',
26+
'<rootDir>/src/app/api/healthz/__tests__',
2627
],
2728
}
2829

0 commit comments

Comments
 (0)