mirror of
https://github.com/nodejs/node.git
synced 2026-12-05 05:58:48 -05:00
PR-URL: https://github.com/nodejs/node/pull/26169 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: James M Snell <jasnell@gmail.com>
13 lines
489 B
JavaScript
13 lines
489 B
JavaScript
// Flags: --experimental-report
|
|
'use strict';
|
|
const common = require('../common');
|
|
common.skipIfReportDisabled();
|
|
const assert = require('assert');
|
|
const helper = require('../common/report');
|
|
|
|
common.expectWarning('ExperimentalWarning',
|
|
'report is an experimental feature. This feature could ' +
|
|
'change at any time');
|
|
helper.validateContent(process.report.getReport());
|
|
assert.deepStrictEqual(helper.findReports(process.pid, process.cwd()), []);
|