-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.test_runnerIssues and PRs related to the test runner subsystem.Issues and PRs related to the test runner subsystem.
Description
What is the problem this feature will solve?
import test from "node:test";
test("hello world", () => {
console.log("hello world");
});{"type":"module"} node --test
TAP version 13
# Subtest: D:\\Documents\\test\\test.js
ok 1 - D:\\Documents\\test\\test.js
---
duration_ms: 0.1560414
...
1..1
# tests 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 0.2308918
What is the feature you are proposing to solve the problem?
The log of the console in the test should print
What alternatives have you considered?
No response
tniessen, chrishiestand, Zamiell and xseman
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.test_runnerIssues and PRs related to the test runner subsystem.Issues and PRs related to the test runner subsystem.