Add some initial test cases
This commit is contained in:
+7
-1
@@ -4,7 +4,7 @@
|
||||
"description": "Cloudron Syslog Daemon listening on port 2514",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "./node_modules/.bin/mocha ./test.js"
|
||||
},
|
||||
"bin": {
|
||||
"cloudron-syslog": "./index.js"
|
||||
@@ -19,5 +19,11 @@
|
||||
"mkdirp": "^0.5.1",
|
||||
"nsyslog-parser": "^0.8.1",
|
||||
"yargs": "^11.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"expect.js": "^0.3.1",
|
||||
"grepit": "^1.0.0",
|
||||
"mocha": "^5.2.0",
|
||||
"rimraf": "^2.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user