From c501208e5c22b090e10888a670a945a3eec695b9 Mon Sep 17 00:00:00 2001 From: Daniel Imhoff Date: Thu, 11 Jun 2020 15:07:41 -0700 Subject: [PATCH] chore(test): increase timeout things are getting serious --- cli/test/add.android.spec.ts | 2 +- cli/test/add.ios.spec.ts | 4 ++-- cli/test/init.spec.ts | 4 ++-- cli/test/update.android.spec.ts | 2 +- cli/test/update.ios.spec.ts | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cli/test/add.android.spec.ts b/cli/test/add.android.spec.ts index 50219b28aa..3a8440dfc5 100644 --- a/cli/test/add.android.spec.ts +++ b/cli/test/add.android.spec.ts @@ -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 diff --git a/cli/test/add.ios.spec.ts b/cli/test/add.ios.spec.ts index c158956622..80a601dbc8 100644 --- a/cli/test/add.ios.spec.ts +++ b/cli/test/add.ios.spec.ts @@ -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 @@ -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 -}); \ No newline at end of file +}); diff --git a/cli/test/init.spec.ts b/cli/test/init.spec.ts index 8b21f6bf1e..f1206581b2 100644 --- a/cli/test/init.spec.ts +++ b/cli/test/init.spec.ts @@ -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'); @@ -80,4 +80,4 @@ describe('Init', () => { const jsonContents = JSON.parse(fileContents); expect(jsonContents.npmClient).toEqual(npmClient); }); -}); \ No newline at end of file +}); diff --git a/cli/test/update.android.spec.ts b/cli/test/update.android.spec.ts index 10c625b76e..375e1ef22f 100644 --- a/cli/test/update.android.spec.ts +++ b/cli/test/update.android.spec.ts @@ -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 diff --git a/cli/test/update.ios.spec.ts b/cli/test/update.ios.spec.ts index eed3834017..8221562a04 100644 --- a/cli/test/update.ios.spec.ts +++ b/cli/test/update.ios.spec.ts @@ -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