Observed behavior
'npm test' run doesn't finish successfully
Expected behavior
No errors during tests executions
Steps to reproduce
- checkout repository
- run
cp .env.defaults .env
- run
npm i
- run
npm test
A couple of output lines from the log's tail
ERROR: Coverage for lines (52.52%) does not meet global threshold (80%)
ERROR: Coverage for functions (30.63%) does not meet global threshold (80%)
ERROR: Coverage for statements (52.52%) does not meet global threshold (80%)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! modern-node-be@0.1.0 test:coverage: `c8 npm run test:ava`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the modern-node-be@0.1.0 test:coverage script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-06-20T21_03_37_542Z-debug.log
npm ERR! Test failed. See above for more details.
Observed behavior
'npm test' run doesn't finish successfully
Expected behavior
No errors during tests executions
Steps to reproduce
cp .env.defaults .envnpm inpm testA couple of output lines from the log's tail