feat(DropdownMenu): add @dropdown-menu-title-active-text-color less var (#4208)
This commit is contained in:
@@ -88,12 +88,21 @@ test('disable close-on-click-outside', async () => {
|
||||
});
|
||||
|
||||
test('direction up', async () => {
|
||||
const { innerHeight } = window;
|
||||
window.innerHeight = 1000;
|
||||
|
||||
const wrapper = renderWrapper({
|
||||
direction: 'up'
|
||||
});
|
||||
|
||||
await later();
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
|
||||
const titles = wrapper.findAll('.van-dropdown-menu__title');
|
||||
titles.at(0).trigger('click');
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
|
||||
window.innerHeight = innerHeight;
|
||||
});
|
||||
|
||||
test('click option', async () => {
|
||||
|
||||
Reference in New Issue
Block a user