Skip to content

fix(cli): coverage map records files a test reads by relative path - #201

Merged
adityankale190895 merged 1 commit into
DiffCI:mainfrom
FredApps:fix/coverage-map-relative-reads
Nov 18, 2026
Merged

adityankale190895 merged 1 commit into
DiffCI:mainfrom
FredApps:fix/coverage-map-relative-reads

Conversation

@FredApps

Copy link
Copy Markdown
Contributor

Fixes #191

Changed behavior

The read probe in coverage-map.ts resolves every path a test reads with path.resolve before it records it. A test that reads fixtures/rel.json by a relative path is now mapped to that file, as a test that reads it by an absolute path already was.

Validation

@FredApps

Copy link
Copy Markdown
Contributor Author

Cross-review (FredApps, head 5465968). Not an approval.

Checked

Fixed: nothing needed.

Open: none. CI is green.

@FredApps
FredApps marked this pull request as ready for review November 18, 2026 00:56
@adityankale190895
adityankale190895 merged commit cac9541 into DiffCI:main Nov 18, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI: the coverage map drops files a test reads by a relative path

2 participants