mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
tests: Plugin backend tests in ci (#4314)
This commit is contained in:
parent
dfe0368910
commit
85f52a2f23
2 changed files with 1 additions and 3 deletions
|
@ -92,8 +92,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 5000 --recursive ../tests/backend/specs",
|
"test": "nyc wtfnode node_modules/.bin/_mocha --timeout 5000 --recursive ../tests/backend/specs ../node_modules/ep_*/static/tests/backend/specs",
|
||||||
"test-contentcollector": "nyc mocha --timeout 5000 ../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.5",
|
"version": "1.8.5",
|
||||||
|
|
|
@ -46,6 +46,5 @@ cd src
|
||||||
|
|
||||||
failed=0
|
failed=0
|
||||||
npm run test || failed=1
|
npm run test || failed=1
|
||||||
npm run test-contentcollector || failed=1
|
|
||||||
|
|
||||||
exit $failed
|
exit $failed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue