chore: prettier test files

This commit is contained in:
陈嘉涵
2020-01-19 16:16:54 +08:00
parent 82208c42b8
commit 2adcfd8b8b
15 changed files with 65 additions and 32 deletions
+2 -2
View File
@@ -120,7 +120,7 @@ test('autosize object', async () => {
const textarea = wrapper.find('.van-field__control');
await later();
expect(textarea.element.style.height).toEqual(('50px'));
expect(textarea.element.style.height).toEqual('50px');
});
test('blur method', () => {
@@ -267,7 +267,7 @@ test('formatter prop', () => {
const wrapper = mount(Field, {
propsData: {
value: 'abc123',
formatter: (value) => value.replace(/\d/g, ''),
formatter: value => value.replace(/\d/g, ''),
},
});