Remove test package

Mocha's recursive search feature finds all files and then removes paths
that match the exclution filter, except that the globstar filter doesn't
match directories with a dot in them which is created by pnpm.  Avoid
this madness by removing the test package.
This commit is contained in:
Hornwitser committed 2022-06-08 16:48:40 +02:00
1 parent f0b60119cb
commit 2401fe25fa
2 files changed
+14 -23

No files matched your search

+14 -3
View File
@@ -2,7 +2,7 @@
"name": "root",
"private": true,
"scripts": {
"test": "mocha --check-leaks -R spec --exclude \"**/node_modules/**\" --recursive test plugins/global_chat/test plugins/research_sync/test plugins/statistics_exporter/test plugins/subspace_storage/test plugins/player_auth/test",
"test": "mocha --check-leaks -R spec --recursive test \"plugins/*/test/**\"",
"fast-test": "FAST_TEST=y pnpm test",
"cover": "nyc pnpm test",
"fast-cover": "FAST_TEST=y nyc pnpm test",
@@ -21,10 +21,21 @@
"node": ">=12"
},
"devDependencies": {
"@clusterio/ctl": "workspace:*",
"@clusterio/lib": "workspace:*",
"@clusterio/master": "workspace:*",
"@clusterio/slave": "workspace:*",
"eslint": "^7.25.0",
"eslint-plugin-node": "^11.1.0",
"express": "^4.16.2",
"form-data": "^4.0.0",
"fs-extra": "^8.1.0",
"jsdoc": "^3.6.6",
"mocha": "^8.4.0",
"nyc": "^15.1.0"
"jsonwebtoken": "^8.2.1",
"jszip": "^3.2.2",
"mocha": "^9.2.2",
"node-forge": "^0.10.0",
"nyc": "^15.1.0",
"phin": "^3.5.1"
}
}
-20
View File
@@ -1,20 +0,0 @@
{
"name": "test",
"private": true,
"engines": {
"node": ">=12"
},
"dependencies": {
"@clusterio/ctl": "^2.0.0-alpha.6",
"@clusterio/lib": "^2.0.0-alpha.6",
"@clusterio/master": "^2.0.0-alpha.6",
"@clusterio/slave": "^2.0.0-alpha.6",
"express": "^4.16.2",
"form-data": "^4.0.0",
"fs-extra": "^8.1.0",
"jsonwebtoken": "^8.2.1",
"jszip": "^3.2.2",
"node-forge": "^0.10.0",
"phin": "^3.5.1"
}
}