Skip to content

Commit

Permalink
fixup! fixup! fixup! test,debugger: migrate node-inspect tests to core
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Apr 10, 2021
1 parent a28757f commit 267e87c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/common/inspector-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function startCLI(args, flags = [], spawnOpts = {}) {
return output;
},

waitFor(pattern, timeout = 5000) {
waitFor(pattern, timeout = 10000) {
function checkPattern(str) {
if (Array.isArray(pattern)) {
return pattern.every((p) => p.test(str));
Expand Down Expand Up @@ -90,11 +90,11 @@ function startCLI(args, flags = [], spawnOpts = {}) {
});
},

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

waitForInitialBreak(timeout = 5000) {
waitForInitialBreak(timeout = 10000) {
return this.waitFor(/break (?:on start )?in/i, timeout)
.then(() => {
if (isPreBreak(this.output)) {
Expand Down

0 comments on commit 267e87c

Please sign in to comment.