Skip to content

Commit 50a20ec

Browse files
committed
Load entire module while testing.
- Improves top-level testing. - Improves coverage reporting.
1 parent 1545316 commit 50a20ec

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Forge ChangeLog
22
===============
33

4+
### Fixed
5+
- [tests] Load entire module to improve top-level testing and coverage
6+
reporting.
7+
48
## 1.2.0 - 2022-01-07
59

610
### Fixed

tests/unit/forge.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// test loading the entire module
2+
require('../../lib/index.js');

tests/unit/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
require('./forge');
12
require('./util');
23
require('./md5');
34
require('./sha1');

0 commit comments

Comments
 (0)