From 5264bd25846cb4b3282a302827c73d030806766e Mon Sep 17 00:00:00 2001 From: kurpav Date: Fri, 15 Dec 2023 16:34:53 +0200 Subject: [PATCH] test: increase timeouts for tests with external api --- test/e2e/core.e2e.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/core.e2e.test.ts b/test/e2e/core.e2e.test.ts index e986e08..fac73b2 100644 --- a/test/e2e/core.e2e.test.ts +++ b/test/e2e/core.e2e.test.ts @@ -198,7 +198,7 @@ describe('core functionality', () => { await axios.get('https://supergood-testbed.herokuapp.com/200'); await Supergood.close(); expect(postEventsMock).not.toHaveBeenCalled(); - }); + }, 10000); it('should operate normally when ignored domains is empty', async () => { await Supergood.init( @@ -212,7 +212,7 @@ describe('core functionality', () => { await axios.get('https://supergood-testbed.herokuapp.com/200'); await Supergood.close(); expect(postEventsMock).toHaveBeenCalled(); - }); + }, 10000); it('should only post events for specified domains and ignore everything else', async () => { await Supergood.init( @@ -236,7 +236,7 @@ describe('core functionality', () => { url: allowedUrl.toString() }) }); - }); + }, 10000); }); describe('encoding', () => {