We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42fb23e commit f35ccabCopy full SHA for f35ccab
test/client/send-request.spec.ts
@@ -86,7 +86,7 @@ describe("The HTTP client API", () => {
86
const responseEvents: any[] = [];
87
responseStream.on('data', (d) => responseEvents.push(d));
88
responseStream.on('error', (e) => responseEvents.push(e));
89
- await delay(10);
+ await delay(50);
90
91
expect(requests.length).to.equal(1);
92
expect(aborts.length).to.equal(0);
@@ -98,7 +98,7 @@ describe("The HTTP client API", () => {
98
});
99
100
abortController.abort();
101
102
103
104
expect(aborts.length).to.equal(1); // <-- Server sees the request cancelled
0 commit comments