summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-08-20 15:14:37 -0400
committerGitHub <noreply@github.com>2024-08-20 15:14:37 -0400
commita7c002ae634b20a2f84c90417327a88c9ac2df99 (patch)
treec21a179412ee70f59eb0c38acfbe5d4998870224 /tests/unit
parent2f47b4d1fd8e37a5e45bc1b8f3623708e0f95e2e (diff)
chore: enable no-console dlint rule (#25113)
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/console_test.ts2
-rw-r--r--tests/unit/fetch_test.ts3
-rw-r--r--tests/unit/serve_test.ts2
-rw-r--r--tests/unit/timers_test.ts3
-rw-r--r--tests/unit/worker_test.ts2
5 files changed, 12 insertions, 0 deletions
diff --git a/tests/unit/console_test.ts b/tests/unit/console_test.ts
index c13362419..63ffff0dc 100644
--- a/tests/unit/console_test.ts
+++ b/tests/unit/console_test.ts
@@ -8,6 +8,8 @@
// std/fmt/colors auto determines whether to put colors in or not. We need
// better infrastructure here so we can properly test the colors.
+// deno-lint-ignore-file no-console
+
import {
assert,
assertEquals,
diff --git a/tests/unit/fetch_test.ts b/tests/unit/fetch_test.ts
index 9b2463bcc..aa4ff3067 100644
--- a/tests/unit/fetch_test.ts
+++ b/tests/unit/fetch_test.ts
@@ -1,4 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+
+// deno-lint-ignore-file no-console
+
import {
assert,
assertEquals,
diff --git a/tests/unit/serve_test.ts b/tests/unit/serve_test.ts
index 353621154..827a094dc 100644
--- a/tests/unit/serve_test.ts
+++ b/tests/unit/serve_test.ts
@@ -1,5 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// deno-lint-ignore-file no-console
+
import { assertMatch, assertRejects } from "@std/assert";
import { Buffer, BufReader, BufWriter } from "@std/io";
import { TextProtoReader } from "../testdata/run/textproto.ts";
diff --git a/tests/unit/timers_test.ts b/tests/unit/timers_test.ts
index 6e829c07f..70619ae35 100644
--- a/tests/unit/timers_test.ts
+++ b/tests/unit/timers_test.ts
@@ -1,4 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+
+// deno-lint-ignore-file no-console
+
import {
assert,
assertEquals,
diff --git a/tests/unit/worker_test.ts b/tests/unit/worker_test.ts
index 526618d54..e5966348f 100644
--- a/tests/unit/worker_test.ts
+++ b/tests/unit/worker_test.ts
@@ -1,5 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// deno-lint-ignore-file no-console
+
// Requires to be run with `--allow-net` flag
import { assert, assertEquals, assertMatch, assertThrows } from "@std/assert";