summaryrefslogtreecommitdiff
path: root/tests/unit_node/crypto/crypto_key_test.ts
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 /tests/unit_node/crypto/crypto_key_test.ts
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 'tests/unit_node/crypto/crypto_key_test.ts')
0 files changed, 0 insertions, 0 deletions