Revert "tests: Use wtfnode to determine why mocha isn't exiting" (#4315)

This reverts commit ae1142a799.

According to
https://github.com/ether/etherpad-lite/pull/4304#issuecomment-694833456
wtfnode always seems to exit with 0 even if the tests fail.
This commit is contained in:
Richard Hansen 2020-09-22 17:47:26 -04:00 committed by GitHub
parent ca7b8e278f
commit 0f6baac7b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 9 deletions

View file

@ -80,8 +80,7 @@
"nyc": "15.0.1",
"set-cookie-parser": "^2.4.6",
"supertest": "4.0.2",
"wd": "1.12.1",
"wtfnode": "^0.8.3"
"wd": "1.12.1"
},
"engines": {
"node": ">=10.13.0",
@ -92,7 +91,7 @@
"url": "https://github.com/ether/etherpad-lite.git"
},
"scripts": {
"test": "nyc wtfnode node_modules/.bin/_mocha --timeout 30000 --recursive ../tests/backend/specs ../node_modules/ep_*/static/tests/backend/specs",
"test": "nyc mocha --timeout 30000 --recursive ../tests/backend/specs ../node_modules/ep_*/static/tests/backend/specs",
"test-container": "nyc mocha --timeout 5000 ../tests/container/specs/api"
},
"version": "1.8.6",