Fix linting error

This commit is contained in:
Edoardo Pirovano
2021-07-27 19:23:11 +01:00
parent ddd2696b4e
commit a81500cbd6
2 changed files with 3 additions and 3 deletions

View File

@@ -232,9 +232,9 @@ test("getGitHubVersion", async (t) => {
test("getGitHubAuth", async (t) => {
const msgs: string[] = [];
const mockLogger = ({
const mockLogger = {
warning: (msg: string) => msgs.push(msg),
} as unknown) as Logger;
} as unknown as Logger;
// eslint-disable-next-line @typescript-eslint/no-floating-promises
t.throwsAsync(async () => util.getGitHubAuth(mockLogger, "abc", true));