test: fix failed snapshot

This commit is contained in:
chenjiahan 2020-12-30 17:24:29 +08:00
parent 0811479764
commit 30c364449d

View File

@ -117,7 +117,7 @@ test('should update tabs when previous tab is clicked', async () => {
});
await later();
await wrapper.findAll('.van-cascader__option')[1].trigger('click');
wrapper.findAll('.van-cascader__option')[1].trigger('click');
await later();
expect(wrapper.html()).toMatchSnapshot();
});