test: Add unit test (#20)

This commit is contained in:
Khaled Garbaya
2017-10-30 13:09:18 +01:00
committed by Benedikt Rötsch
parent c2297d2e99
commit b6ae3f9f07
3 changed files with 119 additions and 1 deletions

View File

@@ -8,7 +8,9 @@
"lint": "eslint ./app.js routes",
"format": "eslint --fix . bin --ignore public node_modules",
"test:integration": "jest test/integration",
"test:integration:watch": "jest test/integration --watch"
"test:integration:watch": "jest test/integration --watch",
"test:unit": "jest test/unit",
"test:unit:watch": "jest test/unit --watch"
},
"engines": {
"node": ">=8.4.0"