diff options
Diffstat (limited to 'test/common/index.js')
-rw-r--r-- | test/common/index.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/common/index.js b/test/common/index.js index 72ad0c3b77..e7df290c3e 100644 --- a/test/common/index.js +++ b/test/common/index.js @@ -632,6 +632,12 @@ function skipIfInspectorDisabled() { } } +function skipIfReportDisabled() { + if (!process.config.variables.node_report) { + skip('Node Report is disabled'); + } +} + function skipIf32Bits() { if (bits < 64) { skip('The tested feature is not available in 32bit builds'); @@ -758,6 +764,7 @@ module.exports = { skipIf32Bits, skipIfEslintMissing, skipIfInspectorDisabled, + skipIfReportDisabled, skipIfWorker, get localhostIPv6() { return '::1'; }, |