blob: cdb7ca9e19e79b8b821d1c716ca77bde6014b676 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Flags: --expose-internals
'use strict';
const common = require('../common');
// This is to ensure that the sendInspectorCommand function calls the error
// function if its called with the v8_enable_inspector is disabled
process.config.variables.v8_enable_inspector = 0;
const inspector = require('internal/util/inspector');
inspector.sendInspectorCommand(
common.mustNotCall('Inspector callback should not be called'),
common.mustCall(1),
);
|