diff --git a/packages/fetch-http-handler/src/fetch-http-handler.spec.ts b/packages/fetch-http-handler/src/fetch-http-handler.spec.ts index 59d2c16b441f..748572c2c11a 100644 --- a/packages/fetch-http-handler/src/fetch-http-handler.spec.ts +++ b/packages/fetch-http-handler/src/fetch-http-handler.spec.ts @@ -105,6 +105,7 @@ describe.skip(FetchHttpHandler.name, () => { fetchHttpHandler.handle({} as any, { abortSignal: { aborted: true, + onabort: null, }, }) ).rejects.toHaveProperty("name", "AbortError"); @@ -130,6 +131,7 @@ describe.skip(FetchHttpHandler.name, () => { await fetchHttpHandler.handle({} as any, { abortSignal: { aborted: false, + onabort: null, }, }); diff --git a/packages/node-http-handler/src/node-http-handler.spec.ts b/packages/node-http-handler/src/node-http-handler.spec.ts index 34b0569810f0..607b33adcfd0 100644 --- a/packages/node-http-handler/src/node-http-handler.spec.ts +++ b/packages/node-http-handler/src/node-http-handler.spec.ts @@ -450,6 +450,7 @@ describe("NodeHttpHandler", () => { { abortSignal: { aborted: true, + onabort: null, }, } ) diff --git a/packages/node-http-handler/src/node-http2-handler.spec.ts b/packages/node-http-handler/src/node-http2-handler.spec.ts index b520c2f559e4..f55a0a1ed69f 100644 --- a/packages/node-http-handler/src/node-http2-handler.spec.ts +++ b/packages/node-http-handler/src/node-http2-handler.spec.ts @@ -143,6 +143,7 @@ describe("NodeHttp2Handler", () => { nodeH2Handler.handle(new HttpRequest(getMockReqOptions()), { abortSignal: { aborted: true, + onabort: null, }, }) ).rejects.toHaveProperty("name", "AbortError"); @@ -161,6 +162,7 @@ describe("NodeHttp2Handler", () => { nodeH2Handler.handle(new HttpRequest(getMockReqOptions()), { abortSignal: { aborted: true, + onabort: null, }, }) ).rejects.toHaveProperty("name", "AbortError");