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.
check-backend-plugin-tests
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

6
src/package-lock.json generated
View File

@ -8835,12 +8835,6 @@
"resolved": "https://registry.npmjs.org/ws/-/ws-7.3.0.tgz", "resolved": "https://registry.npmjs.org/ws/-/ws-7.3.0.tgz",
"integrity": "sha512-iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w==" "integrity": "sha512-iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w=="
}, },
"wtfnode": {
"version": "0.8.3",
"resolved": "https://registry.npmjs.org/wtfnode/-/wtfnode-0.8.3.tgz",
"integrity": "sha512-Ll7iH8MbRQTE+QTw20Xax/0PM5VeSVSOhsmoR3+knWuJkEWTV5d9yPO6Sb+IDbt9I4UCrKpvHuF9T9zteRNOuA==",
"dev": true
},
"xml2js": { "xml2js": {
"version": "0.4.23", "version": "0.4.23",
"resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz", "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz",

View File

@ -80,8 +80,7 @@
"nyc": "15.0.1", "nyc": "15.0.1",
"set-cookie-parser": "^2.4.6", "set-cookie-parser": "^2.4.6",
"supertest": "4.0.2", "supertest": "4.0.2",
"wd": "1.12.1", "wd": "1.12.1"
"wtfnode": "^0.8.3"
}, },
"engines": { "engines": {
"node": ">=10.13.0", "node": ">=10.13.0",
@ -92,7 +91,7 @@
"url": "https://github.com/ether/etherpad-lite.git" "url": "https://github.com/ether/etherpad-lite.git"
}, },
"scripts": { "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" "test-container": "nyc mocha --timeout 5000 ../tests/container/specs/api"
}, },
"version": "1.8.6", "version": "1.8.6",