Add timeout to a link previews test for Windows CI

This commit is contained in:
Evan Hahn 2020-10-20 19:39:44 -05:00 committed by Scott Nonnenberg
parent 29eaa7b9a2
commit 1d548d10ba

View file

@ -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(