aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-05-30 12:40:28 +0800
committerGitHub <noreply@github.com>2018-05-30 12:40:28 +0800
commit4789e981c203ee2b49f51caf4325bf47a189419d (patch)
treef119be4579ad4e2256684943f9dac4b51270ad98 /package.json
parenta19b911febbd2f29ef838a0f6059319c6d1c054e (diff)
parent1cd4b03b3759691f03457eadc8860dcea9570ae9 (diff)
downloadtangerine-wallet-browser-4789e981c203ee2b49f51caf4325bf47a189419d.tar
tangerine-wallet-browser-4789e981c203ee2b49f51caf4325bf47a189419d.tar.gz
tangerine-wallet-browser-4789e981c203ee2b49f51caf4325bf47a189419d.tar.bz2
tangerine-wallet-browser-4789e981c203ee2b49f51caf4325bf47a189419d.tar.lz
tangerine-wallet-browser-4789e981c203ee2b49f51caf4325bf47a189419d.tar.xz
tangerine-wallet-browser-4789e981c203ee2b49f51caf4325bf47a189419d.tar.zst
tangerine-wallet-browser-4789e981c203ee2b49f51caf4325bf47a189419d.zip
Merge pull request #4374 from MetaMask/test-unit-fail-on-only
test - unit - fail if tests contain a .only call
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 5fbbabe80..b5f37e548 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
"dist": "gulp dist",
"doc": "jsdoc -c development/tools/.jsdoc.json",
"test": "npm run test:unit && npm run test:integration && npm run lint",
- "test:unit": "cross-env METAMASK_ENV=test mocha --exit --require test/setup.js --recursive \"test/unit/**/*.js\"",
+ "test:unit": "cross-env METAMASK_ENV=test mocha --exit --require test/setup.js --recursive \"test/unit/**/*.js\" && dot-only-hunter",
"test:single": "cross-env METAMASK_ENV=test mocha --require test/helper.js",
"test:integration": "npm run test:integration:build && npm run test:flat && npm run test:mascara",
"test:integration:build": "gulp build:scss",
@@ -221,6 +221,7 @@
"css-loader": "^0.28.11",
"deep-freeze-strict": "^1.1.1",
"del": "^3.0.0",
+ "dot-only-hunter": "^1.0.3",
"envify": "^4.0.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-15": "^1.0.5",