mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 07:43:12 +09:00
Added tests using mocha
This commit is contained in:
1 parent
336eb07cab
commit
cd44b3572b
3 files changed
+72
-1
No files matched your search
+5
-1
@@ -4,7 +4,8 @@
|
||||
"description": "Factorio cluster???",
|
||||
"main": "master.js",
|
||||
"scripts": {
|
||||
"test": "nodemon master.js",
|
||||
"test": "npm run test-unit",
|
||||
"test-unit": "SET NODE_ENV=test && mocha *.spec.js",
|
||||
"start": "echo Run node client.js start [instance] to start slaves && node master.js"
|
||||
},
|
||||
"keywords": [
|
||||
@@ -35,5 +36,8 @@
|
||||
"simple-rcon": "^0.3.1",
|
||||
"sync-request": "^4.0.1",
|
||||
"underscore": "^1.8.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"mocha": "^3.4.1"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user