node/test/fixtures/v8-coverage/combined_coverage/first.test.js
cjihrig b31d587dc8
test_runner: support combining coverage reports
This commit adds support for combining code coverage reports
in the test runner. This allows coverage to be collected for
child processes, and by extension, the test runner CLI.

PR-URL: https://github.com/nodejs/node/pull/47686
Fixes: https://github.com/nodejs/node/issues/47669
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2023-04-28 13:13:53 +00:00

12 lines
204 B
JavaScript

'use strict';
const { test } = require('node:test');
const common = require('./common');
function notCalled() {
}
test('first 1', () => {
common.fnA();
common.fnD(100);
common.fnB([1, 2, 3]);
});