summaryrefslogtreecommitdiff
path: root/test/sequential/test-inspector-has-inspector-false.js
blob: 56a50408bb8ea11d18926029b060903c0395cb4c (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');

if (process.features.inspector) {
  common.skip('V8 inspector is enabled');
}

const inspector = require('internal/util/inspector');

inspector.sendInspectorCommand(
  common.mustNotCall('Inspector callback should not be called'),
  common.mustCall(1),
);