Fix linting error

This commit is contained in:
Edoardo Pirovano 2021-07-27 19:23:11 +01:00
parent ddd2696b4e
commit a81500cbd6
No known key found for this signature in database
GPG key ID: 047556B5D93FFE28
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

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));