From ae188b7931197756f488d6e2df10901206ef2e10 Mon Sep 17 00:00:00 2001 From: Jordan Shatford Date: Sun, 24 Mar 2024 20:09:41 +1100 Subject: [PATCH] chore(tests): extend timeout of e2e tests to 40000 --- test/e2e/client.angular.spec.ts | 2 +- test/e2e/client.axios.spec.ts | 2 +- test/e2e/client.fetch.spec.ts | 2 +- test/e2e/client.node.spec.ts | 2 +- test/e2e/client.xhr.spec.ts | 2 +- test/e2e/v2.angular.spec.ts | 2 +- test/e2e/v2.axios.spec.ts | 4 ++-- test/e2e/v2.fetch.spec.ts | 4 ++-- test/e2e/v2.node.spec.ts | 4 ++-- test/e2e/v2.xhr.spec.ts | 4 ++-- test/e2e/v3.angular.spec.ts | 2 +- test/e2e/v3.axios.spec.ts | 4 ++-- test/e2e/v3.fetch.spec.ts | 4 ++-- test/e2e/v3.node.spec.ts | 4 ++-- test/e2e/v3.xhr.spec.ts | 4 ++-- 15 files changed, 23 insertions(+), 23 deletions(-) diff --git a/test/e2e/client.angular.spec.ts b/test/e2e/client.angular.spec.ts index 76220dc98..d24cdb6f1 100644 --- a/test/e2e/client.angular.spec.ts +++ b/test/e2e/client.angular.spec.ts @@ -16,7 +16,7 @@ describe('client.angular', () => { buildAngularProject('client/angular', 'app', 'dist'); await server.start('client/angular/app/dist/browser'); await browser.start(); - }, 30000); + }, 40000); afterAll(async () => { await browser.stop(); diff --git a/test/e2e/client.axios.spec.ts b/test/e2e/client.axios.spec.ts index 470f21015..067e5b52d 100644 --- a/test/e2e/client.axios.spec.ts +++ b/test/e2e/client.axios.spec.ts @@ -11,7 +11,7 @@ describe('client.axios', () => { await generateClient('client/axios', 'v3', 'axios', false, 'ApiClient'); compileWithTypescript('client/axios'); await server.start('client/axios'); - }, 30000); + }, 40000); afterAll(async () => { await server.stop(); diff --git a/test/e2e/client.fetch.spec.ts b/test/e2e/client.fetch.spec.ts index df18cc100..00c951c0c 100644 --- a/test/e2e/client.fetch.spec.ts +++ b/test/e2e/client.fetch.spec.ts @@ -16,7 +16,7 @@ describe('client.fetch', () => { compileWithTypescript('client/fetch'); await server.start('client/fetch'); await browser.start(); - }, 30000); + }, 40000); afterAll(async () => { await browser.stop(); diff --git a/test/e2e/client.node.spec.ts b/test/e2e/client.node.spec.ts index 2d2369e19..3c065968c 100644 --- a/test/e2e/client.node.spec.ts +++ b/test/e2e/client.node.spec.ts @@ -11,7 +11,7 @@ describe('client.node', () => { await generateClient('client/node', 'v3', 'node', false, 'ApiClient'); compileWithTypescript('client/node'); await server.start('client/node'); - }, 30000); + }, 40000); afterAll(async () => { await server.stop(); diff --git a/test/e2e/client.xhr.spec.ts b/test/e2e/client.xhr.spec.ts index 62aaa987f..4af307912 100644 --- a/test/e2e/client.xhr.spec.ts +++ b/test/e2e/client.xhr.spec.ts @@ -16,7 +16,7 @@ describe('client.xhr', () => { compileWithTypescript('client/xhr'); await server.start('client/xhr'); await browser.start(); - }, 30000); + }, 40000); afterAll(async () => { await browser.stop(); diff --git a/test/e2e/v2.angular.spec.ts b/test/e2e/v2.angular.spec.ts index 01ce65e00..09cbb8a1f 100644 --- a/test/e2e/v2.angular.spec.ts +++ b/test/e2e/v2.angular.spec.ts @@ -16,7 +16,7 @@ describe('v2.angular', () => { buildAngularProject('v2/angular', 'app', 'dist'); await server.start('v2/angular/app/dist/browser'); await browser.start(); - }, 30000); + }, 40000); afterAll(async () => { await browser.stop(); diff --git a/test/e2e/v2.axios.spec.ts b/test/e2e/v2.axios.spec.ts index a846f34da..02b9ce668 100644 --- a/test/e2e/v2.axios.spec.ts +++ b/test/e2e/v2.axios.spec.ts @@ -11,7 +11,7 @@ describe('v2.axios', () => { await generateClient('v2/axios', 'v2', 'axios'); compileWithTypescript('v2/axios'); await server.start('v2/axios'); - }, 30000); + }, 40000); afterAll(async () => { await server.stop(); @@ -47,7 +47,7 @@ describe('v2.axios useOptions', () => { await generateClient('v2/axios', 'v2', 'axios', true); compileWithTypescript('v2/axios'); await server.start('v2/axios'); - }, 30000); + }, 40000); afterAll(async () => { await server.stop(); diff --git a/test/e2e/v2.fetch.spec.ts b/test/e2e/v2.fetch.spec.ts index 9e7540fec..4738e4115 100644 --- a/test/e2e/v2.fetch.spec.ts +++ b/test/e2e/v2.fetch.spec.ts @@ -16,7 +16,7 @@ describe('v2.fetch', () => { compileWithTypescript('v2/fetch'); await server.start('v2/fetch'); await browser.start(); - }, 30000); + }, 40000); afterAll(async () => { await browser.stop(); @@ -61,7 +61,7 @@ describe('v2.fetch useOptions', () => { compileWithTypescript('v2/fetch'); await server.start('v2/fetch'); await browser.start(); - }, 30000); + }, 40000); afterAll(async () => { await browser.stop(); diff --git a/test/e2e/v2.node.spec.ts b/test/e2e/v2.node.spec.ts index 084bca882..442a7a702 100644 --- a/test/e2e/v2.node.spec.ts +++ b/test/e2e/v2.node.spec.ts @@ -11,7 +11,7 @@ describe('v2.node', () => { await generateClient('v2/node', 'v2', 'node'); compileWithTypescript('v2/node'); await server.start('v2/node'); - }, 30000); + }, 40000); afterAll(async () => { await server.stop(); @@ -62,7 +62,7 @@ describe('v2.node useOptions', () => { await generateClient('v2/node', 'v2', 'node', true); compileWithTypescript('v2/node'); await server.start('v2/node'); - }, 30000); + }, 40000); afterAll(async () => { await server.stop(); diff --git a/test/e2e/v2.xhr.spec.ts b/test/e2e/v2.xhr.spec.ts index ab867f140..8123f8b35 100644 --- a/test/e2e/v2.xhr.spec.ts +++ b/test/e2e/v2.xhr.spec.ts @@ -16,7 +16,7 @@ describe('v2.xhr', () => { compileWithTypescript('v2/xhr'); await server.start('v2/xhr'); await browser.start(); - }, 30000); + }, 40000); afterAll(async () => { await browser.stop(); @@ -61,7 +61,7 @@ describe('v2.xhr useOptions', () => { compileWithTypescript('v2/xhr'); await server.start('v2/xhr'); await browser.start(); - }, 30000); + }, 40000); afterAll(async () => { await browser.stop(); diff --git a/test/e2e/v3.angular.spec.ts b/test/e2e/v3.angular.spec.ts index 7c6995825..f438ba4b6 100644 --- a/test/e2e/v3.angular.spec.ts +++ b/test/e2e/v3.angular.spec.ts @@ -16,7 +16,7 @@ describe('v3.angular', () => { buildAngularProject('v3/angular', 'app', 'dist'); await server.start('v3/angular/app/dist/browser'); await browser.start(); - }, 30000); + }, 40000); afterAll(async () => { await browser.stop(); diff --git a/test/e2e/v3.axios.spec.ts b/test/e2e/v3.axios.spec.ts index 3aabd5e2a..752a529cd 100644 --- a/test/e2e/v3.axios.spec.ts +++ b/test/e2e/v3.axios.spec.ts @@ -11,7 +11,7 @@ describe('v3.axios', () => { await generateClient('v3/axios', 'v3', 'axios'); compileWithTypescript('v3/axios'); await server.start('v3/axios'); - }, 30000); + }, 40000); afterAll(async () => { await server.stop(); @@ -166,7 +166,7 @@ describe('v3.axios useOptions', () => { await generateClient('v3/axios', 'v3', 'axios', true); compileWithTypescript('v3/axios'); await server.start('v3/axios'); - }, 30000); + }, 40000); afterAll(async () => { await server.stop(); diff --git a/test/e2e/v3.fetch.spec.ts b/test/e2e/v3.fetch.spec.ts index 573b79f44..c0cd8d11e 100644 --- a/test/e2e/v3.fetch.spec.ts +++ b/test/e2e/v3.fetch.spec.ts @@ -16,7 +16,7 @@ describe('v3.fetch', () => { compileWithTypescript('v3/fetch'); await server.start('v3/fetch'); await browser.start(); - }, 30000); + }, 40000); afterAll(async () => { await browser.stop(); @@ -203,7 +203,7 @@ describe('v3.fetch useOptions', () => { compileWithTypescript('v3/fetch'); await server.start('v3/fetch'); await browser.start(); - }, 30000); + }, 40000); afterAll(async () => { await browser.stop(); diff --git a/test/e2e/v3.node.spec.ts b/test/e2e/v3.node.spec.ts index 9a43722db..23d26e549 100644 --- a/test/e2e/v3.node.spec.ts +++ b/test/e2e/v3.node.spec.ts @@ -11,7 +11,7 @@ describe('v3.node', () => { await generateClient('v3/node', 'v3', 'node'); compileWithTypescript('v3/node'); await server.start('v3/node'); - }, 30000); + }, 40000); afterAll(async () => { await server.stop(); @@ -172,7 +172,7 @@ describe('v3.node useOptions', () => { await generateClient('v3/node', 'v3', 'node', true); compileWithTypescript('v3/node'); await server.start('v3/node'); - }, 30000); + }, 40000); afterAll(async () => { await server.stop(); diff --git a/test/e2e/v3.xhr.spec.ts b/test/e2e/v3.xhr.spec.ts index e156e2420..526158c0b 100644 --- a/test/e2e/v3.xhr.spec.ts +++ b/test/e2e/v3.xhr.spec.ts @@ -16,7 +16,7 @@ describe('v3.xhr', () => { compileWithTypescript('v3/xhr'); await server.start('v3/xhr'); await browser.start(); - }, 30000); + }, 40000); afterAll(async () => { await browser.stop(); @@ -193,7 +193,7 @@ describe('v3.xhr useOptions', () => { compileWithTypescript('v3/xhr'); await server.start('v3/xhr'); await browser.start(); - }, 30000); + }, 40000); afterAll(async () => { await browser.stop();