diff options
author | Anike Arni <anikarni@gmail.com> | 2017-02-13 15:06:54 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-13 15:06:54 -0200 |
commit | bdf96ef22e827598492ff996fd34ffb70e0ecfce (patch) | |
tree | 769d119ec61b324253feca7975e911de1fae0063 /web-ui/package.json | |
parent | 2753ec89b925f5038a85d6bc1fad7b5c887dbf1e (diff) | |
parent | ab7bb58a77f8a3c1414825a761b16cf14561fba5 (diff) |
Merge pull request #970 from pixelated/backup-email-page
Integration tests for translations
Diffstat (limited to 'web-ui/package.json')
-rw-r--r-- | web-ui/package.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web-ui/package.json b/web-ui/package.json index 06d0abae..59697a55 100644 --- a/web-ui/package.json +++ b/web-ui/package.json @@ -38,6 +38,7 @@ "jquery": "^3.1.1", "jquery-file-upload": "^4.0.5", "jquery-ui": "^1.12.1", + "jsdom": "^9.10.0", "jshint": "2.9.2", "json-loader": "^0.5.4", "karma": "0.13.19", @@ -73,8 +74,9 @@ "webpack": "^1.14.0" }, "scripts": { - "test": "npm run lint --silent && npm run build:statics --silent && npm run test:unit", + "test": "npm run lint --silent && npm run build:statics --silent && npm run test:unit && npm run test:integration", "test:unit": "npm run test:coverage && npm run test:karma", + "test:integration": "mocha-webpack --webpack-config webpack.test.config.js --require test/integration/setup.js \"test/integration/**/*.spec.js\"", "test:coverage": "NODE_ENV=test nyc --check-coverage npm run test:mocha", "test:mocha": "mocha-webpack --webpack-config webpack.test.config.js \"test/unit/**/*.spec.js\"", "test:karma": "karma start --single-run $GRUNT_OPTS", |