summaryrefslogtreecommitdiff
path: root/cli/tests/workers_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/workers_test.ts')
-rw-r--r--cli/tests/workers_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/workers_test.ts b/cli/tests/workers_test.ts
index 06349efa0..31dc72deb 100644
--- a/cli/tests/workers_test.ts
+++ b/cli/tests/workers_test.ts
@@ -11,7 +11,7 @@ import { assert, assertEquals } from "../../std/testing/asserts.ts";
export interface ResolvableMethods<T> {
resolve: (value?: T | PromiseLike<T>) => void;
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // deno-lint-ignore no-explicit-any
reject: (reason?: any) => void;
}
@@ -93,7 +93,7 @@ Deno.test({
{ type: "module" },
);
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // deno-lint-ignore no-explicit-any
throwingWorker.onerror = (e: any): void => {
e.preventDefault();
assert(/Uncaught Error: Thrown error/.test(e.message));
@@ -133,7 +133,7 @@ Deno.test({
{ type: "module" },
);
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ // deno-lint-ignore no-explicit-any
fetchingWorker.onerror = (e: any): void => {
e.preventDefault();
promise.reject(e.message);