From e2e398bd94c5e6be8b2e0a7ae9a74687a4dcf863 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 16 Dec 2016 17:17:10 +0000 Subject: Add some tests for the Javascript wrappers These would have helped avoid the recent FRV. --- javascript/package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'javascript/package.json') 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" + } } -- cgit v1.2.3