mirror of
https://github.com/github/codeql-action.git
synced 2026-11-10 06:54:40 +00:00
Merge branch 'main' into mbg/deprecate-getRunnerLogger
This commit is contained in:
@@ -127,7 +127,7 @@ function mockReleaseApi({
|
||||
});
|
||||
}
|
||||
|
||||
function mockApiDetails(apiDetails: GitHubApiDetails) {
|
||||
function mockApiDetails(apiDetails: Required<GitHubApiDetails>) {
|
||||
// This is a workaround to mock `api.getApiDetails()` since it doesn't seem to be possible to
|
||||
// mock this directly. The difficulty is that `getApiDetails()` is called locally in
|
||||
// `api-client.ts`, but `sinon.stub(api, "getApiDetails")` only affects calls to
|
||||
|
||||
Reference in New Issue
Block a user