Skip to content

Commit

Permalink
test(tests): Increase the timeouts to deal with appveyor false-negatives
Browse files Browse the repository at this point in the history
  • Loading branch information
halfzebra committed Jun 27, 2018
1 parent bd328b6 commit 3bc06e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/build.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const createElmAppCmd = path.join(rootDir, 'bin/create-elm-app-cli.js');
const elmAppCmd = path.join(rootDir, 'bin/elm-app-cli.js');

describe('Creating and making a build of Elm application', function() {
this.timeout(30000);
this.timeout(60000);

before(done => {
process.env.PUBLIC_URL = './';
Expand Down
4 changes: 3 additions & 1 deletion tests/elm-app.eject.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ const testAppDir = path.join(rootDir, testAppName);
const createElmAppCmd = path.join(rootDir, 'bin/create-elm-app-cli.js');
const elmAppCmd = path.join(rootDir, 'bin/elm-app-cli.js');

describe('Ejecting Elm application. (Please wait...)', () => {
describe('Ejecting Elm application. (Please wait...)', function() {
this.timeout(60000);

before(done => {
const { status } = spawn.sync('node', [createElmAppCmd, testAppName]);
if (status === 0) {
Expand Down

0 comments on commit 3bc06e1

Please sign in to comment.