File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
webview-ui/src/components/settings/providers/__tests__ Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ import { ProviderSettings } from "@roo-code/types"
66// Mock the vscrui Checkbox component
77jest . mock ( "vscrui" , ( ) => ( {
88 Checkbox : ( { children, checked, onChange } : any ) => (
9- < label data-testid = { `checkbox-${ children ?. toString ( ) . replace ( / \s + / g, "-" ) . toLowerCase ( ) } ` } >
9+ < label data-testid = { `checkbox-${ children ?. toString ( ) . replace ( / \\ s + / g, "-" ) . toLowerCase ( ) } ` } >
1010 < input
1111 type = "checkbox"
1212 checked = { checked }
1313 onChange = { ( ) => onChange ( ! checked ) } // Toggle the checked state
14- data-testid = { `checkbox-input-${ children ?. toString ( ) . replace ( / \s + / g, "-" ) . toLowerCase ( ) } ` }
14+ data-testid = { `checkbox-input-${ children ?. toString ( ) . replace ( / \\ s + / g, "-" ) . toLowerCase ( ) } ` }
1515 />
1616 { children }
1717 </ label >
You can’t perform that action at this time.
0 commit comments