mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 00:13:12 +09:00
Move unit tests to test/ folder
Move unit tests for client, master, and the lib to test/ and move plugin unit tests to <plugin dir>/test.
This commit is contained in:
1 parent
74c99b9e13
commit
a63c341209
16 files changed
+18
-12
No files matched your search
+7
-1
@@ -5,7 +5,7 @@
|
||||
"repository": "https://github.com/clusterio/factorioClusterio",
|
||||
"main": "master.js",
|
||||
"scripts": {
|
||||
"test": "mocha --exit --check-leaks -R spec \"./{,!(node_modules)/**/}*.spec.js\"",
|
||||
"test": "mocha --exit --check-leaks -R spec --recursive test sharedPlugins/*/test",
|
||||
"fast-test": "FAST_TEST=y npm test",
|
||||
"cover": "nyc npm test",
|
||||
"fast-cover": "FAST_TEST=y nyc npm test",
|
||||
@@ -14,6 +14,12 @@
|
||||
"install": "node lib/npmPostinstall.js",
|
||||
"bundle-dependencies": "bundle-dependencies"
|
||||
},
|
||||
"nyc": {
|
||||
"exclude": [
|
||||
"test/**",
|
||||
"sharedPlugins/*/test/**"
|
||||
]
|
||||
},
|
||||
"keywords": [
|
||||
"factorio"
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user