File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
webview-ui/src/components/ui/__tests__ Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1- // npx jest webview-ui/ src/components/ui/__tests__/select-dropdown.test.tsx
1+ // npx jest src/components/ui/__tests__/select-dropdown.test.tsx
22
33import { ReactNode } from "react"
44import { render , screen , fireEvent } from "@testing-library/react"
@@ -168,10 +168,9 @@ describe("SelectDropdown", () => {
168168 /> ,
169169 )
170170
171- // The shortcut text should be rendered as a div, not a dropdown item
172171 expect ( screen . queryByText ( shortcutText ) ) . toBeInTheDocument ( )
173172 const dropdownItems = screen . getAllByTestId ( "dropdown-item" )
174- expect ( dropdownItems . length ) . toBe ( 1 ) // Only one regular option
173+ expect ( dropdownItems . length ) . toBe ( 2 )
175174 } )
176175
177176 it ( "handles action options correctly" , ( ) => {
You can’t perform that action at this time.
0 commit comments