Skip to content

Commit 9817462

Browse files
committed
test: options.request.hook’s signature is now (request, endpointOptions)
1 parent d61fbef commit 9817462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/request.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ describe("request()", () => {
492492
.sandbox()
493493
.mock("https://api.github.com/", { ok: true });
494494

495-
const hook = (options: Endpoint, request: requestInterface) => {
495+
const hook = (request: requestInterface, options: Endpoint) => {
496496
expect(options).toEqual({
497497
baseUrl: "https://api.github.com",
498498
headers: {

0 commit comments

Comments
 (0)