aboutsummaryrefslogtreecommitdiff
path: root/javascript/package.json
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-12-16 17:17:10 +0000
committerRichard van der Hoff <richard@matrix.org>2016-12-19 09:43:58 +0000
commite2e398bd94c5e6be8b2e0a7ae9a74687a4dcf863 (patch)
treeec9603f71bdfab34e4b3e401f123698e0fde7196 /javascript/package.json
parent819f0d24dbd92acd29b588f618d7830943bc18f9 (diff)
Add some tests for the Javascript wrappers
These would have helped avoid the recent FRV.
Diffstat (limited to 'javascript/package.json')
-rw-r--r--javascript/package.json7
1 files changed, 5 insertions, 2 deletions
diff --git a/javascript/package.json b/javascript/package.json
index b65fb2e..5432883 100644
--- a/javascript/package.json
+++ b/javascript/package.json
@@ -9,7 +9,7 @@
],
"scripts": {
"build": "make -C .. js",
- "test": "echo \"Error: no test specified\" && exit 1"
+ "test": "jasmine-node test --verbose --junitreport --captureExceptions"
},
"repository": {
"type": "git",
@@ -23,5 +23,8 @@
"bugs": {
"url": "https://github.com/matrix-org/olm/issues"
},
- "homepage": "https://github.com/matrix-org/olm#readme"
+ "homepage": "https://github.com/matrix-org/olm#readme",
+ "devDependencies": {
+ "jasmine-node": "^1.14.5"
+ }
}