File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 44before_install :
55 - npm i -g npm@5.6.0
66script :
7- - npm run test
7+ - npm run test-coverage
88after_script :
99 - npm run coverage
Original file line number Diff line number Diff line change 44 "description" : " Randomly select elements in a collection." ,
55 "main" : " src/index.js" ,
66 "scripts" : {
7- "test" : " nyc --reporter=text-lcov mocha" ,
7+ "test" : " nyc --reporter=html mocha" ,
8+ "test-coverage" : " nyc report --reporter=text-lcov mocha" ,
89 "coverage" : " nyc report --reporter=text-lcov mocha | coveralls" ,
910 "start" : " node src/demo.js" ,
1011 "istanbul" : " istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
You can’t perform that action at this time.
0 commit comments