summaryrefslogtreecommitdiff
path: root/cli/tests/async_error.ts
diff options
context:
space:
mode:
authorSamrith Shankar <samrith-s@users.noreply.github.com>2020-03-20 14:38:34 +0100
committerGitHub <noreply@github.com>2020-03-20 09:38:34 -0400
commit798904b0f2ed0c7284b67bba2f125f406b5850de (patch)
tree5aba8d35aa8984aa778c894258bcaed56f1ce17c /cli/tests/async_error.ts
parent35f6e2e45ddb96524a6bdf54b0a6155caa88d5e0 (diff)
Add require-await lint rule (#4401)
Diffstat (limited to 'cli/tests/async_error.ts')
-rw-r--r--cli/tests/async_error.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/async_error.ts b/cli/tests/async_error.ts
index 81c983a50..b37369bac 100644
--- a/cli/tests/async_error.ts
+++ b/cli/tests/async_error.ts
@@ -1,4 +1,5 @@
console.log("hello");
+// eslint-disable-next-line require-await
const foo = async (): Promise<never> => {
console.log("before error");
throw Error("error");