Skip to content

Commit a6bc322

Browse files
committed
Add testing coverage (with native ESM-compatible c8)
To get full coverage within the constructor (when `now` is `null`), separate tests which have `set` in `beforeEach` Also adds source maps (to properly trace as well as user benefit)
1 parent e4395c6 commit a6bc322

8 files changed

Lines changed: 867 additions & 76 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
22
/lib
3+
coverage

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules
22
tests
3+
coverage

.spmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
tests
33
dist
4+
coverage

0 commit comments

Comments
 (0)