Add retryCount to mocked Octokit responses

This commit is contained in:
Koen Vlaswinkel
2023-12-11 15:02:48 +01:00
parent 39229c26d4
commit 7f332e3374
3 changed files with 8 additions and 0 deletions

View File

@@ -136,6 +136,7 @@ function mockRequestError(status: number, body: any): RequestError {
"Content-Type": "application/json",
},
data: body,
retryCount: 0,
},
},
);

View File

@@ -322,6 +322,7 @@ describe("Variant Analysis Monitor", () => {
headers: {},
url: "",
data: {},
retryCount: 0,
},
}),
);

View File

@@ -114,6 +114,7 @@ describe("listDatabases", () => {
headers: {},
url: "",
data: {},
retryCount: 0,
},
}),
);
@@ -140,6 +141,7 @@ describe("listDatabases", () => {
headers: {},
url: "",
data: {},
retryCount: 0,
},
}),
);
@@ -188,6 +190,7 @@ describe("listDatabases", () => {
headers: {},
url: "",
data: {},
retryCount: 0,
},
}),
);
@@ -221,6 +224,7 @@ describe("listDatabases", () => {
headers: {},
url: "",
data: {},
retryCount: 0,
},
}),
);
@@ -257,6 +261,7 @@ describe("listDatabases", () => {
headers: {},
url: "",
data: {},
retryCount: 0,
},
}),
);
@@ -283,6 +288,7 @@ describe("listDatabases", () => {
headers: {},
url: "",
data: {},
retryCount: 0,
},
}),
);