| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3e93cc3 commit 2b87f97
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,8 +27,7 @@ const path = require('path'); | |||
| 27 | 27 | }) | |
| 28 | 28 | // Making sure it will die by default: | |
| 29 | 29 | .then(() => cli.command('c')) | |
| 30 | - // TODO: Remove FATAL ERROR once node doesn't show a FATAL ERROR anymore. | ||
| 31 | - .then(() => cli.waitFor(/disconnect|FATAL ERROR/)) | ||
| 30 | + .then(() => cli.waitFor(/disconnect/)) | ||
| 32 | 31 | ||
| 33 | 32 | // Next run: With `breakOnException` it pauses in both places. | |
| 34 | 33 | .then(() => cli.stepCommand('r')) | |
@@ -66,9 +65,7 @@ const path = require('path'); | |||
| 66 | 65 | assert.deepStrictEqual(cli.breakInfo, { filename: script, line: 1 }); | |
| 67 | 66 | }) | |
| 68 | 67 | .then(() => cli.command('c')) | |
| 69 | - // TODO: Remove FATAL ERROR once node doesn't show a FATAL ERROR anymore | ||
| 70 | - .then(() => cli.waitFor(/disconnect|FATAL ERROR/)) | ||
| 71 | - | ||
| 68 | + .then(() => cli.waitFor(/disconnect/)) | ||
| 72 | 69 | .then(() => cli.quit()) | |
| 73 | 70 | .then(null, onFatal); | |
| 74 | 71 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments