From 19c6ac2705f2368309c6def964ac85917dfdd1a2 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Sat, 31 Aug 2024 16:01:03 -0400 Subject: [PATCH] disable if no inspector --- test/parallel/test-repl-preview-newlines.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-repl-preview-newlines.js b/test/parallel/test-repl-preview-newlines.js index 67505895c155d3..b607faa2fd6c46 100644 --- a/test/parallel/test-repl-preview-newlines.js +++ b/test/parallel/test-repl-preview-newlines.js @@ -1,10 +1,12 @@ 'use strict'; -require('../common'); +const common = require('../common'); const ArrayStream = require('../common/arraystream'); const assert = require('assert'); const repl = require('repl'); +common.skipIfInspectorDisabled(); + const inputStream = new ArrayStream(); const outputStream = new ArrayStream(); repl.start({