Skip to content

Commit

Permalink
chore(endomoat): allow debugger msgs in stderr for tests scenario [ci…
Browse files Browse the repository at this point in the history
… skip]
  • Loading branch information
boneskull committed Mar 8, 2024
1 parent 32ae522 commit a07bb47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/endomoat/test/scenario-util.js
Expand Up @@ -219,7 +219,8 @@ export function createScenarioRunner(log = console.error.bind(console)) {
outputPromise?.catch(() => {})
}

if (stderr) {
// nothing should output to stderr. except a debugger
if (stderr && stderr.trim() !== 'Debugger attached.') {
throw new Error(`Unexpected output in standard err: \n${stderr}`)
}
try {
Expand Down

0 comments on commit a07bb47

Please sign in to comment.