From a07bb473a64ee119999185d10686d1cd9a019eda Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Thu, 7 Mar 2024 14:19:35 -0800 Subject: [PATCH] chore(endomoat): allow debugger msgs in stderr for tests scenario [ci skip] --- packages/endomoat/test/scenario-util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/endomoat/test/scenario-util.js b/packages/endomoat/test/scenario-util.js index 15d28b78ce..451f812bdb 100644 --- a/packages/endomoat/test/scenario-util.js +++ b/packages/endomoat/test/scenario-util.js @@ -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 {