diff options
ci - e2e+screens - use shell-parallel to run ganache
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/package.json b/package.json index 4e618f563..6bb934eec 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,10 @@ "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", - "test:e2e": "cross-env METAMASK_ENV=test mocha test/e2e/metamask.spec --recursive", - "test:screens": "cross-env METAMASK_ENV=test npm run ganache:start & mocha test/screens/new.spec --recursive || kill $!", + "test:e2e": "shell-parallel -s 'npm run ganache:start' -x 'npm run test:e2e:run'", + "test:e2e:run": "mocha test/e2e/metamask.spec --recursive", + "test:screens": "shell-parallel -s 'npm run ganache:start' -x 'npm run test:screens:run'", + "test:screens:run": "mocha test/screens/new.spec --recursive", "test:coverage": "nyc npm run test:unit && npm run test:coveralls-upload", "test:coveralls-upload": "if [ $COVERALLS_REPO_TOKEN ]; then nyc report --reporter=text-lcov | coveralls; fi", "test:flat": "npm run test:flat:build && karma start test/flat.conf.js", @@ -144,7 +146,6 @@ "number-to-bn": "^1.7.0", "obj-multiplex": "^1.0.0", "obs-store": "^3.0.0", - "once": "^1.3.3", "percentile": "^1.2.0", "pify": "^3.0.0", "ping-pong-stream": "^1.0.0", @@ -267,6 +268,7 @@ "redux-test-utils": "^0.2.2", "rimraf": "^2.6.2", "selenium-webdriver": "^3.5.0", + "shell-parallel": "^1.0.2", "sinon": "^5.0.0", "stylelint-config-standard": "^18.2.0", "tape": "^4.5.1", |