Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed Nov 27, 2023
1 parent 7efc135 commit 7a4e27d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/coverage.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { test } from 'node:test'
import { match } from 'node:assert'
import { match, doesNotMatch } from 'node:assert'
import { execa } from 'execa'
import { join } from 'desm'

Expand Down Expand Up @@ -29,6 +29,7 @@ test('coverage excludes', async () => {

match(res.stdout, /% Stmts/)
match(res.stdout, /All files/)
doesNotMatch(res.stdout, /add\.ts/)
// The test files are shown
match(res.stdout, /add\.test\.ts/)
match(res.stdout, /add2\.test\.ts/)
Expand Down

0 comments on commit 7a4e27d

Please sign in to comment.