mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
test(e2e): stabilize apply_diff tests using toolUsage fallback and helper; restore @roo-code/types imports
This commit is contained in:
parent
8a9083472a
commit
cc56916bd4
1 changed files with 1 additions and 17 deletions
|
|
@ -3,23 +3,7 @@ import * as fs from "fs/promises"
|
|||
import * as path from "path"
|
||||
import * as vscode from "vscode"
|
||||
|
||||
/**
|
||||
* Local minimal typings to avoid module resolution issues in e2e package.
|
||||
* We only use a subset of fields in these tests.
|
||||
*/
|
||||
type ClineMessage = {
|
||||
type: "ask" | "say"
|
||||
say?: string
|
||||
ask?: string
|
||||
text?: string
|
||||
}
|
||||
|
||||
const RooCodeEventName = {
|
||||
Message: "message",
|
||||
TaskStarted: "taskStarted",
|
||||
TaskCompleted: "taskCompleted",
|
||||
} as const
|
||||
|
||||
import { RooCodeEventName, type ClineMessage } from "@roo-code/types"
|
||||
import { waitFor, sleep } from "../utils"
|
||||
import { setDefaultSuiteTimeout } from "../test-utils"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue