mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
When setting up the tests there were issues with code that didn't properly clean up after itself and left lingering connections, intervals or timers that kept the event loop running after the tests where done. To fix this the --exit flag was passed as a temporary measure but then subsequently forgotten about. The issues with keeping the event loop alive have long since been fixed on Linux, but on Windows there was a problem with the control connector not exiting because the master server was killed instead of shutten down properly. With that issue fixed there are no longer any connections or timers keeping the event loop alive and --exit can thus be removed.
41 lines
1.2 KiB
JSON
41 lines
1.2 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "mocha --check-leaks -R spec --recursive test plugins/global_chat/test plugins/research_sync/test plugins/statistics_exporter/test plugins/subspace_storage/test",
|
|
"fast-test": "FAST_TEST=y npm test",
|
|
"cover": "nyc npm test",
|
|
"fast-cover": "FAST_TEST=y nyc npm test",
|
|
"ci-cover": "nyc --reporter=lcovonly npm run-script test",
|
|
"lint": "eslint \"*.js\" packages plugins test",
|
|
"docs": "jsdoc --configure docs/jsdoc.json",
|
|
"bundle-dependencies": "bundle-dependencies"
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"test/**",
|
|
"plugins/*/test/**"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=10.16 <11 || >= 12"
|
|
},
|
|
"devDependencies": {
|
|
"@clusterio/ctl": "file:./packages/ctl",
|
|
"@clusterio/lib": "file:./packages/lib",
|
|
"@clusterio/master": "file:packages/master",
|
|
"@clusterio/slave": "file:./packages/slave",
|
|
"eslint": "^7.2.0",
|
|
"fs-extra": "^8.1.0",
|
|
"jsdoc": "^3.6.3",
|
|
"jsonwebtoken": "^8.2.1",
|
|
"jszip": "^3.2.2",
|
|
"lerna": "^3.22.1",
|
|
"mocha": "^6.2.0",
|
|
"node-forge": "^0.10.0",
|
|
"nyc": "^14.1.1",
|
|
"phin": "^3.4.1",
|
|
"webpack": "^5.0.0"
|
|
}
|
|
}
|