Skip to content

Commit

Permalink
Increase mocha timeout in kitchensink-eject tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
iansu committed Jul 15, 2018
1 parent dd63e72 commit ac7031f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ script:
- 'if [ $TEST_SUITE = "installs" ]; then tasks/e2e-installs.sh; fi'
- 'if [ $TEST_SUITE = "kitchensink" ]; then tasks/e2e-kitchensink.sh; fi'
- 'if [ $TEST_SUITE = "kitchensink-eject" ]; then tasks/e2e-kitchensink-eject.sh; fi'
- 'if [ $TEST_SUITE = "old-node" ]; then tasks/e2e-old-node.sh; fi'
- 'if [ $TEST_SUITE = "monorepos" ]; then tasks/e2e-monorepos.sh; fi'
- 'if [ $TEST_SUITE = "old-node" ]; then tasks/e2e-old-node.sh; fi'
env:
matrix:
- TEST_SUITE=simple
Expand All @@ -31,7 +31,3 @@ matrix:
include:
- node_js: 4
env: TEST_SUITE=old-node
- node_js: 6
env: TEST_SUITE=kitchensink
- node_js: 6
env: TEST_SUITE=kitchensink-eject
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ environment:
test_suite: "installs"
- nodejs_version: 10
test_suite: "kitchensink"
- nodejs_version: 8
- nodejs_version: 10
test_suite: "kitchensink-eject"
- nodejs_version: 8
- nodejs_version: 10
test_suite: "monorepos"
- nodejs_version: 8
test_suite: "simple"
- nodejs_version: 8
test_suite: "installs"
- nodejs_version: 8
test_suite: "kitchensink"
- nodejs_version: 6
- nodejs_version: 8
test_suite: "kitchensink-eject"
- nodejs_version: 6
- nodejs_version: 8
test_suite: "monorepos"
cache:
- node_modules -> appveyor.cleanup-cache.txt
Expand Down
4 changes: 2 additions & 2 deletions tasks/e2e-kitchensink-eject.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ E2E_URL="http://localhost:3002" \
CI=true NODE_PATH=src \
NODE_ENV=development \
BABEL_ENV=test \
node_modules/.bin/mocha --compilers js:@babel/register --require @babel/polyfill integration/*.test.js
node_modules/.bin/mocha --timeout 30000 --compilers js:@babel/register --require @babel/polyfill integration/*.test.js

# Test "production" environment
E2E_FILE=./build/index.html \
Expand All @@ -168,7 +168,7 @@ E2E_FILE=./build/index.html \
BABEL_ENV=test \
NODE_PATH=src \
PUBLIC_URL=http://www.example.org/spa/ \
node_modules/.bin/mocha --compilers js:@babel/register --require @babel/polyfill integration/*.test.js
node_modules/.bin/mocha --timeout 30000 --compilers js:@babel/register --require @babel/polyfill integration/*.test.js

# Cleanup
cleanup

0 comments on commit ac7031f

Please sign in to comment.