Commit 9fbe6bd
committed
test_runner: use exports in coverage mock fixture
Replace the deprecated `namedExports` option in the
coverage-with-mock-cjs output fixture with `exports`.
The old fixture started emitting a deprecation warning, which
changed stderr and broke the TAP snapshot for the coverage
output test. Using `exports` keeps the fixture behavior the
same while avoiding unrelated warning noise.1 parent 04cfa17 commit 9fbe6bd
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments