update task.test.ts to run in any order with other tests

This commit is contained in:
ColemanRoo 2025-02-11 14:21:33 -06:00
parent 21f04f580a
commit 63346fbc6e

View file

@ -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.