Skip to content

Commit 4feee45

Browse files
committed
AbortSignal test snapshot
1 parent ba810d7 commit 4feee45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/__snapshots__/index.spec.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ export const sendRequest = async (
436436
headers,
437437
body: body ?? formData,
438438
method: options.method,
439-
signal: controller.signal,
439+
signal: controller.signal as AbortSignal,
440440
};
441441

442442
if (config.WITH_CREDENTIALS) {
@@ -3529,7 +3529,7 @@ export const sendRequest = async (
35293529
headers,
35303530
body: body ?? formData,
35313531
method: options.method,
3532-
signal: controller.signal,
3532+
signal: controller.signal as AbortSignal,
35333533
};
35343534

35353535
if (config.WITH_CREDENTIALS) {

0 commit comments

Comments
 (0)