summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorClaudius2019-05-13 09:41:28 +0200
committerClaudius2019-05-13 14:37:08 +0200
commit4b579be93e8ca7f8141ec5d3e8e70a4b9211159c (patch)
tree6c28758bdf9f467aadafe14bf9d6b57c27af76fd /package.json
parentdabcb91185488703dca6bce30cfea5c968694fd9 (diff)
Adding the first few lines of user model test
Signed-off-by: Claudius <opensource@amenthes.de>
Diffstat (limited to '')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 980241f3..fdbe6130 100644
--- a/package.json
+++ b/package.json
@@ -5,9 +5,10 @@
"main": "app.js",
"license": "AGPL-3.0",
"scripts": {
- "test": "npm run-script eslint && npm run-script jsonlint && mocha",
+ "test": "npm run-script eslint && npm run-script jsonlint && npm run-script mocha-suite",
"eslint": "node_modules/.bin/eslint lib public test app.js",
"jsonlint": "find . -not -path './node_modules/*' -type f -name '*.json' -o -type f -name '*.json.example' | while read json; do echo $json ; jq . $json; done",
+ "mocha-suite": "NODE_ENV=test CMD_DB_URL=\"sqlite::memory:\" mocha --exit",
"standard": "echo 'standard is no longer being used, use `npm run eslint` instead!' && exit 1",
"dev": "webpack --config webpack.dev.js --progress --colors --watch",
"heroku-prebuild": "bin/heroku",