diff options
author | Alan Gou <alan@frontapp.com> | 2020-06-19 02:05:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 11:05:37 +0200 |
commit | ffedbd79ad90bc88ef8c51d145536f68f50d4fea (patch) | |
tree | c774772d18867fe08a87429446c473be2fc856c5 /cli/tests/unit/console_test.ts | |
parent | 36ad5e44020a8bd48546e5a8bdb7db9c2f40dc52 (diff) |
build: lint cli/tests/unit using deno lint (#6327)
Diffstat (limited to 'cli/tests/unit/console_test.ts')
-rw-r--r-- | cli/tests/unit/console_test.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/tests/unit/console_test.ts b/cli/tests/unit/console_test.ts index 98e43c739..7634ff0e1 100644 --- a/cli/tests/unit/console_test.ts +++ b/cli/tests/unit/console_test.ts @@ -608,7 +608,9 @@ unitTest(async function consoleTestStringifyPromises(): Promise<void> { rej(Error("Whoops")); }); await rejectedPromise; - } catch (err) {} + } catch (err) { + // pass + } const strLines = stringify(rejectedPromise).split("\n"); assertEquals(strLines[0], "Promise {"); assertEquals(strLines[1], " <rejected> Error: Whoops"); |