2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-22 10:30:34 +03:00

Merge branch 'master' into customizable-text

This commit is contained in:
Jeff Sagal
2021-07-27 20:38:16 -07:00
9 changed files with 129 additions and 23 deletions
+10
View File
@@ -188,4 +188,14 @@ describe("Toggling Dropdown", () => {
expect(Select.classes('vs--searching')).toBeFalsy();
});
it("can be opened with dropdownShouldOpen", () => {
const Select = selectWithProps({
noDrop: true,
dropdownShouldOpen: () => true,
options: ['one']
});
expect(Select.classes('vs--open')).toBeTruthy();
expect(Select.find('.vs__dropdown-menu li')).toBeTruthy();
})
});