Skip to content

test_runner: add code coverage support to spec reporter#46674

Merged
nodejs-github-bot merged 2 commits intonodejs:mainfrom
pulkit-30:fix-46665
Apr 2, 2023
Merged

test_runner: add code coverage support to spec reporter#46674
nodejs-github-bot merged 2 commits intonodejs:mainfrom
pulkit-30:fix-46665

Conversation

@pulkit-30
Copy link
Contributor

@pulkit-30 pulkit-30 commented Feb 15, 2023

fixes #46665

test.mjs

import test from 'node:test';
import assert from 'node:assert'
test('test', () => {
  assert.strictEqual(true, true)
});

output:
running with ./node --test-reporter=spec --experimental-test-coverage test.mjs

Screenshot 2023-03-13 at 12 13 11 AM

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run. test_runner Issues and PRs related to the test runner subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_runner: add code coverage support to spec reporter

8 participants