Add timeout to a link previews test for Windows CI
This commit is contained in:
parent
29eaa7b9a2
commit
1d548d10ba
1 changed files with 3 additions and 1 deletions
|
@ -776,7 +776,9 @@ describe('link preview fetching', () => {
|
|||
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 fakeFetch = stub().resolves(
|
||||
|
|
Loading…
Reference in a new issue