mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
tests: Stop using nyc
There are some problems with nyc: * The coverage numbers aren't useful in our case because most of the code is executed outside the test process (the test code is mostly API client logic). * nyc messes with line numbers, which makes it much harder to debug problems. * We're seeing frequent SIGABRT crashes while nyc is printing the results table. I'm not sure if nyc is the cause of the crashes, or if it's making a race condition worse, or if the crashes have nothing to do with nyc, but we don't lose much by removing it so we might as well see if the crash frequency improves.
This commit is contained in:
parent
0897a28e70
commit
89bcfa2b4a
2 changed files with 4 additions and 985 deletions
984
src/package-lock.json
generated
984
src/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -89,7 +89,6 @@
|
||||||
"etherpad-cli-client": "0.0.9",
|
"etherpad-cli-client": "0.0.9",
|
||||||
"mocha": "7.1.2",
|
"mocha": "7.1.2",
|
||||||
"mocha-froth": "^0.2.10",
|
"mocha-froth": "^0.2.10",
|
||||||
"nyc": "15.0.1",
|
|
||||||
"set-cookie-parser": "^2.4.6",
|
"set-cookie-parser": "^2.4.6",
|
||||||
"sinon": "^9.2.0",
|
"sinon": "^9.2.0",
|
||||||
"superagent": "^3.8.3",
|
"superagent": "^3.8.3",
|
||||||
|
@ -148,8 +147,8 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"test": "nyc mocha --timeout 120000 --recursive ../tests/backend/specs ../node_modules/ep_*/static/tests/backend/specs",
|
"test": "mocha --timeout 120000 --recursive ../tests/backend/specs ../node_modules/ep_*/static/tests/backend/specs",
|
||||||
"test-container": "nyc mocha --timeout 5000 ../tests/container/specs/api"
|
"test-container": "mocha --timeout 5000 ../tests/container/specs/api"
|
||||||
},
|
},
|
||||||
"version": "1.8.7",
|
"version": "1.8.7",
|
||||||
"license": "Apache-2.0"
|
"license": "Apache-2.0"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue