diff options
author | kumavis <aaron@kumavis.me> | 2018-03-31 04:50:19 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2018-03-31 04:50:19 +0800 |
commit | a9391ea2eff65be7f70d3d83d185750759b01528 (patch) | |
tree | 971302a00e02ef22fd9b72be03e6408bc4bd3c5c | |
parent | 2997067ca04a7a8853875d24d0efe25451600c2c (diff) | |
download | tangerine-wallet-browser-a9391ea2eff65be7f70d3d83d185750759b01528.tar.gz tangerine-wallet-browser-a9391ea2eff65be7f70d3d83d185750759b01528.tar.zst tangerine-wallet-browser-a9391ea2eff65be7f70d3d83d185750759b01528.zip |
ci - e2e+screens - add sleep to make sure ganache is ready
-rw-r--r-- | package.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json index 6bb934eec..2a8c122e1 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,9 @@ "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": "shell-parallel -s 'npm run ganache:start' -x 'npm run test:e2e:run'", + "test:e2e": "shell-parallel -s 'npm run ganache:start' -x 'sleep 3 && 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": "shell-parallel -s 'npm run ganache:start' -x 'sleep 3 && 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", |