We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63346fb commit a41fb07Copy full SHA for a41fb07
src/test/suite/task.test.ts
@@ -32,10 +32,9 @@ suite("Roo Code Task", () => {
32
startTime = Date.now()
33
34
while (Date.now() - startTime < timeout) {
35
- const state = await globalThis.provider.getState()
36
- const task = state.taskHistory?.[0]
+ const messages = globalThis.provider.messages
37
38
- if (task && task.tokensOut > 0) {
+ if (messages.some(({ type, text }) => type === "say" && text?.includes("My name is Roo"))) {
39
break
40
}
41
0 commit comments