aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-07-23 07:20:43 +0800
committerDan Finlay <dan@danfinlay.com>2016-07-23 07:20:43 +0800
commit2e61102147a86acc2b33d82ad1c4bc4c33addd4d (patch)
tree9f9aac10b7c89846b3d73b8cb27e2167be8f2461 /package.json
parentb724dd009c36574aa7d090435a60f89c1adc881d (diff)
downloadtangerine-wallet-browser-2e61102147a86acc2b33d82ad1c4bc4c33addd4d.tar
tangerine-wallet-browser-2e61102147a86acc2b33d82ad1c4bc4c33addd4d.tar.gz
tangerine-wallet-browser-2e61102147a86acc2b33d82ad1c4bc4c33addd4d.tar.bz2
tangerine-wallet-browser-2e61102147a86acc2b33d82ad1c4bc4c33addd4d.tar.lz
tangerine-wallet-browser-2e61102147a86acc2b33d82ad1c4bc4c33addd4d.tar.xz
tangerine-wallet-browser-2e61102147a86acc2b33d82ad1c4bc4c33addd4d.tar.zst
tangerine-wallet-browser-2e61102147a86acc2b33d82ad1c4bc4c33addd4d.zip
Separate UI tests from normal unit test suite
Diffstat (limited to 'package.json')
-rw-r--r--package.json10
1 files changed, 7 insertions, 3 deletions
diff --git a/package.json b/package.json
index eb3a3b09e..b7fd0cfdb 100644
--- a/package.json
+++ b/package.json
@@ -5,10 +5,13 @@
"private": true,
"scripts": {
"start": "gulp dev",
- "test": "mocha --require test/helper.js --compilers js:babel-register --recursive",
- "watch": "mocha watch --compilers js:babel-register --recursive",
+ "test": "mocha --require test/helper.js --compilers js:babel-register --recursive \"test/unit/**/*.js\"",
+ "watch": "mocha watch --compilers js:babel-register --recursive \"test/unit/**/*.js\"",
"ui": "node development/genStates.js && beefy ui-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./",
- "mock": "beefy mock-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./"
+ "mock": "beefy mock-dev.js:bundle.js --live --open --index=./development/index.html --cwd ./",
+ "buildMock": "browserify ./mock-dev.js -o ./development/bundle.js",
+ "testem": "npm run buildMock && testem",
+ "ci": "npm run buildMock && testem ci"
},
"browserify": {
"transform": [
@@ -96,6 +99,7 @@
"mocha-jsdom": "^1.1.0",
"mocha-sinon": "^1.1.5",
"qs": "^6.2.0",
+ "qunit": "^0.9.1",
"sinon": "^1.17.3",
"tape": "^4.5.1",
"uglifyify": "^3.0.1",