summaryrefslogtreecommitdiff
path: root/test/sequential/test-debugger-repeat-last.js
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2017-04-24 16:13:21 +0200
committerMichaël Zasso <targos@protonmail.com>2017-04-26 10:02:15 +0200
commitc8c5a528da4cacedbbfd61bf6f81d595e1536579 (patch)
treee4e48876bba1a46e13d56d838ffdbf22c689df76 /test/sequential/test-debugger-repeat-last.js
parentd1d9ecfe6ec70616633b15f8653a3a430df9c3bd (diff)
downloadandroid-node-v8-c8c5a528da4cacedbbfd61bf6f81d595e1536579.tar.gz
android-node-v8-c8c5a528da4cacedbbfd61bf6f81d595e1536579.tar.bz2
android-node-v8-c8c5a528da4cacedbbfd61bf6f81d595e1536579.zip
test: make tests pass when built without inspector
PR-URL: https://github.com/nodejs/node/pull/12622 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/sequential/test-debugger-repeat-last.js')
-rw-r--r--test/sequential/test-debugger-repeat-last.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/sequential/test-debugger-repeat-last.js b/test/sequential/test-debugger-repeat-last.js
index 9d1dd4754d..39572ab99b 100644
--- a/test/sequential/test-debugger-repeat-last.js
+++ b/test/sequential/test-debugger-repeat-last.js
@@ -1,5 +1,6 @@
'use strict';
const common = require('../common');
+common.skipIfInspectorDisabled();
const path = require('path');
const spawn = require('child_process').spawn;
const assert = require('assert');
@@ -9,7 +10,7 @@ const fixture = path.join(
);
const args = [
- 'debug',
+ 'inspect',
`--port=${common.PORT}`,
fixture
];