Fix linter errors

This commit is contained in:
Henry Mercer 2023-01-18 20:22:33 +00:00
parent 5f644f971e
commit 10695e6a20
46 changed files with 93 additions and 62 deletions

View file

@ -64,6 +64,7 @@ function mockGetContents(content) {
};
const spyGetContents = sinon
.stub(client.repos, "getContent")
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
.resolves(response);
sinon.stub(api, "getApiClient").value(() => client);
sinon.stub(api, "getApiClientWithExternalAuth").value(() => client);
@ -78,6 +79,7 @@ function mockListLanguages(languages) {
for (const language of languages) {
response.data[language] = 123;
}
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
sinon.stub(client.repos, "listLanguages").resolves(response);
sinon.stub(api, "getApiClient").value(() => client);
}