Skip to content

Commit

Permalink
chore(tests): extend timeout of e2e tests to 40000
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanshatford committed Mar 24, 2024
1 parent 243067c commit ae188b7
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion test/e2e/client.angular.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/client.axios.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/client.fetch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/client.node.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/client.xhr.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/v2.angular.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/v2.axios.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/v2.fetch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/v2.node.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/v2.xhr.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/v3.angular.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/v3.axios.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/v3.fetch.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/v3.node.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/v3.xhr.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit ae188b7

Please sign in to comment.