Skip to content

Commit

Permalink
chore(test): increase timeout
Browse files Browse the repository at this point in the history
things are getting serious
  • Loading branch information
imhoffd committed Jun 11, 2020
1 parent c2adf4c commit c501208
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cli/test/add.android.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe.each([false, true])('Add: Android (monoRepoLike: %p)', (monoRepoLike) =

beforeAll(async () => {
// These commands are slowww...
jest.setTimeout(120000);
jest.setTimeout(150000);
appDirObj = await makeAppDir(monoRepoLike);
const appDir = appDirObj.appDir;
// Init in this directory so we can test add
Expand Down
4 changes: 2 additions & 2 deletions cli/test/add.ios.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe.each([false, true])('Add: iOS (monoRepoLike: %p)', (monoRepoLike) => {

beforeAll(async () => {
// These commands are slowww...
jest.setTimeout(50000);
jest.setTimeout(150000);
appDirObj = await makeAppDir(monoRepoLike);
const appDir = appDirObj.appDir;
// Init in this directory so we can test add
Expand Down Expand Up @@ -37,4 +37,4 @@ describe.each([false, true])('Add: iOS (monoRepoLike: %p)', (monoRepoLike) => {

// Other test ideas:
// should install/copy pre-existing cordova/capacitor plugins in package.json
});
});
4 changes: 2 additions & 2 deletions cli/test/init.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Init', () => {

beforeAll(async () => {
// These commands are slowww...
jest.setTimeout(20000);
jest.setTimeout(150000);
appDirObj = await mktmp();
tmpDir = appDirObj.path;
appDir = join(tmpDir, 'test-app');
Expand Down Expand Up @@ -80,4 +80,4 @@ describe('Init', () => {
const jsonContents = JSON.parse(fileContents);
expect(jsonContents.npmClient).toEqual(npmClient);
});
});
});
2 changes: 1 addition & 1 deletion cli/test/update.android.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe.each([false, true])('Update: Android (monoRepoLike: %p)', (monoRepoLike

beforeAll(async () => {
// These commands are slowww...
jest.setTimeout(50000);
jest.setTimeout(150000);
appDirObj = await makeAppDir(monoRepoLike);
appDir = appDirObj.appDir;
// Init in this directory so we can test add
Expand Down
2 changes: 1 addition & 1 deletion cli/test/update.ios.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe.each([false, true])('Update: iOS (monoRepoLike: %p)', (monoRepoLike) =>

beforeAll(async () => {
// These commands are slowww...
jest.setTimeout(120000);
jest.setTimeout(150000);
appDirObj = await makeAppDir(monoRepoLike);
appDir = appDirObj.appDir;
// Init in this directory so we can test add
Expand Down

0 comments on commit c501208

Please sign in to comment.