Fix linting error
This commit is contained in:
parent
ddd2696b4e
commit
a81500cbd6
2 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
|
@ -232,9 +232,9 @@ test("getGitHubVersion", async (t) => {
|
||||||
|
|
||||||
test("getGitHubAuth", async (t) => {
|
test("getGitHubAuth", async (t) => {
|
||||||
const msgs: string[] = [];
|
const msgs: string[] = [];
|
||||||
const mockLogger = ({
|
const mockLogger = {
|
||||||
warning: (msg: string) => msgs.push(msg),
|
warning: (msg: string) => msgs.push(msg),
|
||||||
} as unknown) as Logger;
|
} as unknown as Logger;
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
||||||
t.throwsAsync(async () => util.getGitHubAuth(mockLogger, "abc", true));
|
t.throwsAsync(async () => util.getGitHubAuth(mockLogger, "abc", true));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue