mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-11 03:38:15 +00:00
test(webview): align About component test props with new retention union
This commit is contained in:
parent
dbf47c259e
commit
8c142755be
1 changed files with 3 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import type { ComponentProps } from "react"
|
||||
|
||||
import { render, screen } from "@/utils/test-utils"
|
||||
|
||||
import { TranslationProvider } from "@/i18n/__mocks__/TranslationContext"
|
||||
|
|
@ -26,7 +28,7 @@ vi.mock("@roo/package", () => ({
|
|||
}))
|
||||
|
||||
describe("About", () => {
|
||||
const defaultProps = {
|
||||
const defaultProps: ComponentProps<typeof About> = {
|
||||
telemetrySetting: "enabled" as const,
|
||||
setTelemetrySetting: vi.fn(),
|
||||
taskHistoryRetention: "never",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue