Skip to content

Commit

Permalink
test: increase timeouts for tests with external api
Browse files Browse the repository at this point in the history
  • Loading branch information
kurpav committed Dec 15, 2023
1 parent dd9ff5f commit 5264bd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/e2e/core.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand All @@ -236,7 +236,7 @@ describe('core functionality', () => {
url: allowedUrl.toString()
})
});
});
}, 10000);
});

describe('encoding', () => {
Expand Down

0 comments on commit 5264bd2

Please sign in to comment.