mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
test: update no_shell_integration event test
Update test to handle string message parameter in no_shell_integration event Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
This commit is contained in:
parent
a867595a6a
commit
f2891d7bc6
1 changed files with 3 additions and 1 deletions
|
|
@ -125,7 +125,9 @@ describe("TerminalProcess", () => {
|
|||
|
||||
// Set up event listeners to verify events are emitted
|
||||
const eventPromises = Promise.all([
|
||||
new Promise<void>((resolve) => noShellProcess.once("no_shell_integration", resolve)),
|
||||
new Promise<void>((resolve) =>
|
||||
noShellProcess.once("no_shell_integration", (_message: string) => resolve()),
|
||||
),
|
||||
new Promise<void>((resolve) => noShellProcess.once("completed", (_output?: string) => resolve())),
|
||||
new Promise<void>((resolve) => noShellProcess.once("continue", resolve)),
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue