summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/_fs
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-03-15 20:58:57 -0700
committerGitHub <noreply@github.com>2024-03-15 20:58:57 -0700
commitab67b4c645dc34619e09c2f9f36c18122b11a307 (patch)
treec35ad60b1fbe05218c9e22e5ad64f7b04f9ed2db /ext/node/polyfills/_fs
parent92576fdcfd3e32dce63b533ab20d4974136b097d (diff)
fix(coverage): Error if no files are included in the report (#22952)
Fixes #22941. In that case, the only file with coverage was the `test.ts` file. The coverage reporter filters out test files before compiling its report, so after filtering we were left with an empty set of files. Later on it's assumed that there is at least 1 file to be reported on, and we panic. Instead of panicking, just issue an error after filtering.
Diffstat (limited to 'ext/node/polyfills/_fs')
0 files changed, 0 insertions, 0 deletions