Skip to content

Commit ecfd1d1

Browse files
committed
Fix coverage script
1 parent 33e2624 commit ecfd1d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/type-definitions/coverage.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ for (const moduleName of Modules) {
1616
}
1717

1818
if (hasErrors) {
19-
throw Error('Some modules have no types');
19+
throw new Error('Some modules have no types');
2020
}

0 commit comments

Comments
 (0)