diff options
Diffstat (limited to 'cli/tests/unit/error_stack_test.ts')
-rw-r--r-- | cli/tests/unit/error_stack_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/error_stack_test.ts b/cli/tests/unit/error_stack_test.ts index d795a2951..a5fe13796 100644 --- a/cli/tests/unit/error_stack_test.ts +++ b/cli/tests/unit/error_stack_test.ts @@ -7,7 +7,7 @@ const { setPrepareStackTrace } = Deno[Deno.internal]; interface CallSite { getThis(): unknown; getTypeName(): string | null; - // eslint-disable-next-line @typescript-eslint/ban-types + // deno-lint-ignore ban-types getFunction(): Function | null; getFunctionName(): string | null; getMethodName(): string | null; @@ -36,7 +36,7 @@ function getMockCallSite( getTypeName(): string { return ""; }, - // eslint-disable-next-line @typescript-eslint/ban-types + // deno-lint-ignore ban-types getFunction(): Function { return (): void => {}; }, @@ -125,7 +125,7 @@ unitTest(function errorStackMessageLine(): void { // FIXME(bartlomieju): no longer works after migrating // to JavaScript runtime code unitTest({ ignore: true }, function prepareStackTrace(): void { - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any const MockError = {} as any; setPrepareStackTrace(MockError); assert(typeof MockError.prepareStackTrace === "function"); |