mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
ellipsis comment on regex format
This commit is contained in:
parent
eb826b1c90
commit
1e279b4728
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ suite("Roo Code Modes", () => {
|
|||
const gradeMessage = globalThis.provider.messages.find(
|
||||
({ type, text }) => type === "say" && !text?.includes("Grade: (1-10)") && text?.includes("Grade:"),
|
||||
)?.text
|
||||
const grade = gradeMessage?.match(`Grade: (10|[1-9])`)
|
||||
const grade = gradeMessage?.match(/Grade: (10|[1-9])/)
|
||||
assert.ok(
|
||||
grade?.includes("Grade: 10") ||
|
||||
grade?.includes("Grade: 9") ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue