Skip to content

Commit 63346fb

Browse files
committed
update task.test.ts to run in any order with other tests
1 parent 21f04f5 commit 63346fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/suite/task.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ suite("Roo Code Task", () => {
2222
await new Promise((resolve) => setTimeout(resolve, interval))
2323
}
2424

25+
await globalThis.provider.updateGlobalState("mode", "Code")
26+
await globalThis.provider.updateGlobalState("alwaysAllowModeSwitch", true)
27+
await globalThis.provider.updateGlobalState("autoApprovalEnabled", true)
28+
2529
await globalThis.api.startNewTask("Hello world, what is your name? Respond with 'My name is ...'")
2630

2731
// Wait for task to appear in history with tokens.

0 commit comments

Comments
 (0)