mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 10:19:08 +00:00
Add timeout to a link previews test for Windows CI
This commit is contained in:
committed by
Scott Nonnenberg
parent
29eaa7b9a2
commit
1d548d10ba
@@ -776,7 +776,9 @@ describe('link preview fetching', () => {
|
|||||||
sinon.assert.notCalled(shouldNeverBeCalled);
|
sinon.assert.notCalled(shouldNeverBeCalled);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('stops reading bodies after 500 kilobytes', async () => {
|
it('stops reading bodies after 500 kilobytes', async function test() {
|
||||||
|
this.timeout(10000);
|
||||||
|
|
||||||
const shouldNeverBeCalled = sinon.stub();
|
const shouldNeverBeCalled = sinon.stub();
|
||||||
|
|
||||||
const fakeFetch = stub().resolves(
|
const fakeFetch = stub().resolves(
|
||||||
|
|||||||
Reference in New Issue
Block a user