Add retryCount to mocked Octokit responses
This commit is contained in:
@@ -136,6 +136,7 @@ function mockRequestError(status: number, body: any): RequestError {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
data: body,
|
||||
retryCount: 0,
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
@@ -322,6 +322,7 @@ describe("Variant Analysis Monitor", () => {
|
||||
headers: {},
|
||||
url: "",
|
||||
data: {},
|
||||
retryCount: 0,
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user