test: update legacy test cases

This commit is contained in:
chenjiahan
2020-12-31 16:06:49 +08:00
parent 559710f945
commit b03341792e
15 changed files with 88 additions and 88 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ test('should not trigger select event when click disabled day', async () => {
await later();
wrapper.findAll('.van-calendar__day').at(1).trigger('click');
wrapper.findAll('.van-calendar__day')[1].trigger('click');
expect(formatDate(wrapper.emitted('select'))).toBeFalsy();
});