Created
June 1, 2015 13:14
-
-
Save simon-p-r/67565b620bd5d4a5a83d to your computer and use it in GitHub Desktop.
Lab problem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 tests complete | |
Test duration: 27 ms | |
Assertions count: 9 (verbosity: 1.80) | |
No global variable leaks detected | |
Coverage: 100.00% | |
Linting results: No issues |
D:\Modules\require-plus>npm test
> require-plus@0.1.0 test D:\Modules\require-plus
> lab -a code -v -L -t 100
require-plus
V 1) should throw an error when constructed without new (13 ms)
V 2) should throw an error when constructed without options object (1 ms)
V 3) should throw an error when directory does not exists (22 ms)
V 4) should apply defaults to options object (2 ms)
V 5) should loop through array of directories (2 ms)
V 6) should filter directories (3 ms)
V 7) should throw on invalid require (2 ms)
V 8) should build a moduleSet object (2 ms)
This is what is displayed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not displayed in console when running tests