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
feat(coverage): add TypeScript source map generation for accurate coverage
- Import envAsBoolean from @socketsecurity/lib/env/helpers
- Enable source maps conditionally via COVERAGE env var
- Add rebuild step in cover.mjs with COVERAGE=true
- Matches socket-lib pattern for consistent behavior
When COVERAGE=true or COVERAGE=1:
- esbuild generates TypeScript source maps
- Coverage tools can map JS back to TS sources
- Improves coverage accuracy
0 commit comments