summaryrefslogtreecommitdiff
path: root/tests/node_compat
diff options
context:
space:
mode:
Diffstat (limited to 'tests/node_compat')
-rwxr-xr-xtests/node_compat/runner/setup.ts2
-rw-r--r--tests/node_compat/test.ts2
-rw-r--r--tests/node_compat/test/fixtures/child-process-spawn-node.js4
3 files changed, 5 insertions, 3 deletions
diff --git a/tests/node_compat/runner/setup.ts b/tests/node_compat/runner/setup.ts
index 95fee6a20..37f1aba9b 100755
--- a/tests/node_compat/runner/setup.ts
+++ b/tests/node_compat/runner/setup.ts
@@ -1,6 +1,8 @@
#!/usr/bin/env -S deno run --allow-read=. --allow-write=. --allow-run=git --config=tests/config/deno.json
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// deno-lint-ignore-file no-console
+
/** This copies the test files according to the config file `tests/node_compat/config.jsonc` */
import { walk } from "@std/fs/walk";
diff --git a/tests/node_compat/test.ts b/tests/node_compat/test.ts
index b5c9514a3..f6db4ee1a 100644
--- a/tests/node_compat/test.ts
+++ b/tests/node_compat/test.ts
@@ -1,5 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+// deno-lint-ignore-file no-console
+
/**
* This script will run the test files specified in the configuration file.
*
diff --git a/tests/node_compat/test/fixtures/child-process-spawn-node.js b/tests/node_compat/test/fixtures/child-process-spawn-node.js
index da2b557c9..d403aabf9 100644
--- a/tests/node_compat/test/fixtures/child-process-spawn-node.js
+++ b/tests/node_compat/test/fixtures/child-process-spawn-node.js
@@ -1,7 +1,5 @@
const assert = require("assert");
-// TODO(kt3k): Uncomment this when util.debuglog is added
-// const debug = require('util').debuglog('test');
-const debug = console.log;
+const debug = require('util').debuglog('test');
function onmessage(m) {
debug("CHILD got message:", m);