You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: Add mockDefault helper for default-export mocks (jaegertracing#3694)
Add global.mockDefault = mod => mod to jest-per-test-setup.js. Wrap all
jest.mock() factories that return a function/component directly with
mockDefault(...) across 33 test files.
In H3, only the setup file changes:
mod => mod → mod => ({ default: mod })
to make all default-export mocks ESM-compatible in Vitest.
Also update ADR section 9 / PR table to mark H2c done.
## AI Usage in this PR (choose one)
See [AI Usage
Policy](https://github.com/jaegertracing/jaeger/blob/main/CONTRIBUTING_GUIDELINES.md#ai-usage-policy).
- [ ] **None**: No AI tools were used in creating this PR
- [ ] **Light**: AI provided minor assistance (formatting, simple
suggestions)
- [ ] **Moderate**: AI helped with code generation or debugging specific
parts
- [x] **Heavy**: AI generated most or all of the code changes
Signed-off-by: Yuri Shkuro <github@ysh.us>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments