chore: rename all legacy test cases

This commit is contained in:
chenjiahan
2020-10-13 16:56:11 +08:00
parent ec943578b2
commit f2b6f3d4d1
133 changed files with 0 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import PasswordInput from '..';
import { mount } from '../../../test';
test('focus event', () => {
const focus = jest.fn();
const wrapper = mount(PasswordInput, {
context: {
on: {
focus,
},
},
});
wrapper.find('.van-password-input__security').trigger('touchstart');
expect(focus).toHaveBeenCalledTimes(1);
});