summaryrefslogtreecommitdiff
path: root/cli/tests/unit/console_test.ts
diff options
context:
space:
mode:
authorYusuke Tanaka <yusuktan@maguro.dev>2020-08-31 18:10:28 +0900
committerGitHub <noreply@github.com>2020-08-31 11:10:28 +0200
commit7799b797d149dff98fa11c065667e453e6038b9d (patch)
tree4921ddb7e83a02c862b89d6e95cc5d16f2c89e04 /cli/tests/unit/console_test.ts
parentd761246e16826a3dd3aa73a3e053de72d640b203 (diff)
chore: remove unreachable code to pass linter (#7270)
Diffstat (limited to 'cli/tests/unit/console_test.ts')
-rw-r--r--cli/tests/unit/console_test.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/tests/unit/console_test.ts b/cli/tests/unit/console_test.ts
index 60d2143c0..3d1ace6bd 100644
--- a/cli/tests/unit/console_test.ts
+++ b/cli/tests/unit/console_test.ts
@@ -720,9 +720,8 @@ unitTest(function consoleTestWithCustomInspector(): void {
unitTest(function consoleTestWithCustomInspectorError(): void {
class A {
- [customInspect](): string {
+ [customInspect](): never {
throw new Error("BOOM");
- return "b";
}
}