Skip to content

Commit 267e87c

Browse files
committed
fixup! fixup! fixup! test,debugger: migrate node-inspect tests to core
1 parent a28757f commit 267e87c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/common/inspector-cli.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function startCLI(args, flags = [], spawnOpts = {}) {
4848
return output;
4949
},
5050

51-
waitFor(pattern, timeout = 5000) {
51+
waitFor(pattern, timeout = 10000) {
5252
function checkPattern(str) {
5353
if (Array.isArray(pattern)) {
5454
return pattern.every((p) => p.test(str));
@@ -90,11 +90,11 @@ function startCLI(args, flags = [], spawnOpts = {}) {
9090
});
9191
},
9292

93-
waitForPrompt(timeout = 5000) {
93+
waitForPrompt(timeout = 10000) {
9494
return this.waitFor(/>\s+$/, timeout);
9595
},
9696

97-
waitForInitialBreak(timeout = 5000) {
97+
waitForInitialBreak(timeout = 10000) {
9898
return this.waitFor(/break (?:on start )?in/i, timeout)
9999
.then(() => {
100100
if (isPreBreak(this.output)) {

0 commit comments

Comments
 (0)