test(webview): align About component test props with new retention union

This commit is contained in:
Hannes Rudolph 2026-01-19 18:41:26 -07:00
parent dbf47c259e
commit 8c142755be

View file

@ -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",