Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit ab6d3ab

Browse files
committed
test(webview): align About component test props with new retention union
1 parent fb151aa commit ab6d3ab

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

webview-ui/src/components/settings/__tests__/About.spec.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import type { ComponentProps } from "react"
2+
13
import { render, screen } from "@/utils/test-utils"
24

35
import { TranslationProvider } from "@/i18n/__mocks__/TranslationContext"
@@ -26,7 +28,7 @@ vi.mock("@roo/package", () => ({
2628
}))
2729

2830
describe("About", () => {
29-
const defaultProps = {
31+
const defaultProps: ComponentProps<typeof About> = {
3032
telemetrySetting: "enabled" as const,
3133
setTelemetrySetting: vi.fn(),
3234
taskHistoryRetention: "never",

0 commit comments

Comments
 (0)