mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-09 03:17:58 +00:00
update task.test.ts to run in any order with other tests
This commit is contained in:
parent
21f04f580a
commit
63346fbc6e
1 changed files with 4 additions and 0 deletions
|
|
@ -22,6 +22,10 @@ suite("Roo Code Task", () => {
|
|||
await new Promise((resolve) => setTimeout(resolve, interval))
|
||||
}
|
||||
|
||||
await globalThis.provider.updateGlobalState("mode", "Code")
|
||||
await globalThis.provider.updateGlobalState("alwaysAllowModeSwitch", true)
|
||||
await globalThis.provider.updateGlobalState("autoApprovalEnabled", true)
|
||||
|
||||
await globalThis.api.startNewTask("Hello world, what is your name? Respond with 'My name is ...'")
|
||||
|
||||
// Wait for task to appear in history with tokens.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue