Skip to content

Commit 8dec6ce

Browse files
committed
test: missing nextTick on failing test
1 parent b8b9cbc commit 8dec6ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Select.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,7 @@ describe("WAI-ARIA compliance keyboard behaviors", () => {
10021002
const disabledOptionIndex = options.findIndex((option) => option.disabled);
10031003
// Access the internal focusedOption ref directly
10041004
(wrapper.vm as any).focusedOption = disabledOptionIndex;
1005+
await wrapper.vm.$nextTick();
10051006

10061007
expect(wrapper.get(".focused[role='option']").text()).toBe("Spain");
10071008

0 commit comments

Comments
 (0)