| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,6 +42,7 @@ const path = require('path'); | |||
| 42 | 42 | assert.match(cli.output, /Use `run` to start the app again/); | |
| 43 | 43 | }) | |
| 44 | 44 | .then(() => cli.command('run')) | |
| 45 | + .then(() => cli.waitFor(/ ok\n/)) | ||
| 45 | 46 | .then(() => cli.waitForInitialBreak()) | |
| 46 | 47 | .then(() => cli.waitForPrompt()) | |
| 47 | 48 | .then(() => { | |
@@ -58,9 +59,9 @@ const path = require('path'); | |||
| 58 | 59 | ); | |
| 59 | 60 | }) | |
| 60 | 61 | .then(() => cli.command('restart')) | |
| 61 | - .then(() => cli.waitFor(/Debugger attached\./)) | ||
| 62 | - .then(() => cli.waitForPrompt()) | ||
| 62 | + .then(() => cli.waitFor(/ ok\n/)) | ||
| 63 | 63 | .then(() => cli.waitForInitialBreak()) | |
| 64 | + .then(() => cli.waitForPrompt()) | ||
| 64 | 65 | .then(() => { | |
| 65 | 66 | assert.deepStrictEqual( | |
| 66 | 67 | cli.breakInfo, | |
@@ -74,6 +75,7 @@ const path = require('path'); | |||
| 74 | 75 | assert.match(cli.output, /Use `run` to start the app again/); | |
| 75 | 76 | }) | |
| 76 | 77 | .then(() => cli.command('run')) | |
| 78 | + .then(() => cli.waitFor(/ ok\n/)) | ||
| 77 | 79 | .then(() => cli.waitForInitialBreak()) | |
| 78 | 80 | .then(() => cli.waitForPrompt()) | |
| 79 | 81 | .then(() => { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments