Created
August 25, 2017 18:40
-
-
Save anthony-telljohann/99041a511a1b4e724caf4e6f7c9de01d to your computer and use it in GitHub Desktop.
This file contains 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
> cross-env NODE_ENV=test nyc mocha test/unit/**/*.js | |
add | |
√ should be a function | |
√ should return a promise | |
√ should resolve a number | |
3 passing (37ms) | |
----------|----------|----------|----------|----------|----------------| | |
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines | | |
----------|----------|----------|----------|----------|----------------| | |
All files | 100 | 100 | 100 | 100 | | | |
add.js | 100 | 100 | 100 | 100 | | | |
----------|----------|----------|----------|----------|----------------| | |
=============================== Coverage summary =============================== | |
Statements : 100% ( 5/5 ) | |
Branches : 100% ( 0/0 ) | |
Functions : 100% ( 3/3 ) | |
Lines : 100% ( 3/3 ) | |
================================================================================ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment