Skip to content

Commit 11180ed

Browse files
author
vhess
committed
update message
1 parent 301bc51 commit 11180ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/test/http/fetch-timeout.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe("Fetch Proxy Timeout", () => {
4141
clearTimeout(timeout);
4242
try {
4343
expect(err).toBeTruthy();
44-
expect(err.message).toBe("Proxy timeout");
44+
expect(err.message).toMatchInlineSnapshot(`"The operation was aborted due to timeout"`);
4545
res.statusCode = 504;
4646
res.end("Gateway Timeout");
4747
resolve();

0 commit comments

Comments
 (0)