aboutsummaryrefslogtreecommitdiff
path: root/javascript/package.json
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2016-12-20 12:03:07 +0000
committerGitHub <noreply@github.com>2016-12-20 12:03:07 +0000
commitfb91b1f18269c5b681c972dc4448858db0966c3a (patch)
treeec9603f71bdfab34e4b3e401f123698e0fde7196 /javascript/package.json
parent819f0d24dbd92acd29b588f618d7830943bc18f9 (diff)
parente2e398bd94c5e6be8b2e0a7ae9a74687a4dcf863 (diff)
Merge pull request #41 from matrix-org/rav/js_tests
Add some tests for the Javascript wrappers
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"
+ }
}