Skip to content

Commit 2af9778

Browse files
authored
disable if no inspector
1 parent eef9462 commit 2af9778

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/parallel/test-repl-preview-newlines.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
'use strict';
22

3-
require('../common');
3+
const common = require('../common');
44
const ArrayStream = require('../common/arraystream');
55
const assert = require('assert');
66
const repl = require('repl');
77

8+
common.skipIfInspectorDisabled();
9+
810
const inputStream = new ArrayStream();
911
const outputStream = new ArrayStream();
1012
repl.start({

0 commit comments

Comments
 (0)