mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
test: fix TelemetryService mock in Nebius embedder tests
This commit is contained in:
parent
b574f5e7b5
commit
f9b208b194
1 changed files with 9 additions and 0 deletions
|
|
@ -14,6 +14,15 @@ vi.mock("../../../../i18n", () => ({
|
|||
}),
|
||||
}))
|
||||
|
||||
// Mock TelemetryService
|
||||
vi.mock("@roo-code/telemetry", () => ({
|
||||
TelemetryService: {
|
||||
instance: {
|
||||
captureEvent: vi.fn(),
|
||||
},
|
||||
},
|
||||
}))
|
||||
|
||||
// Mock the validation helpers
|
||||
vi.mock("../../shared/validation-helpers", () => ({
|
||||
withValidationErrorHandling: vi.fn(async (fn, provider) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue