Skip to content

Instantly share code, notes, and snippets.

@watilde
Last active October 26, 2020 04:08
Show Gist options
  • Save watilde/de79754055d627f485a61656f37f72de to your computer and use it in GitHub Desktop.
Save watilde/de79754055d627f485a61656f37f72de to your computer and use it in GitHub Desktop.

meant

$ nyc --reporter=lcov --reporter=text npm run test

> [email protected] test /Users/daijirow/Developments/watilde/meant
> standard && tap test.js

test.js ............................................... 4/4 2s
total ................................................. 4/4

  4 passing (2s)

  ok
----------|---------|----------|---------|---------|-------------------
File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
----------|---------|----------|---------|---------|-------------------
All files |     100 |      100 |     100 |     100 |                   
 index.js |     100 |      100 |     100 |     100 |                   
----------|---------|----------|---------|---------|-------------------

leven

$ nyc --reporter=lcov --reporter=text npm run test

> [email protected] test /Users/daijirow/Developments/tmp/leven
> xo && ava && tsd


  index.js:76:1
  ⚠  76:1  Unexpected todo comment.  no-warning-comments

  1 warning


  1 test passed

----------|---------|----------|---------|---------|-------------------
File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s 
----------|---------|----------|---------|---------|-------------------
All files |   94.59 |    88.89 |     100 |   94.59 |                   
 index.js |   94.59 |    88.89 |     100 |   94.59 | 7,44              
----------|---------|----------|---------|---------|-------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment