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
+5 -2
View File
@@ -168,7 +168,7 @@ test('simulation finger swipe again before transitionend', () => {
expect(wrapper.emitted('change')[0][1]).toEqual('1995');
});
test('click column\'s item', () => {
test('click column item', () => {
const columns = [
{ text: '杭州' },
{ text: '宁波' },
@@ -181,7 +181,10 @@ test('click column\'s item', () => {
},
});
wrapper.findAll('.van-picker-column__item').at(3).trigger('click');
wrapper
.findAll('.van-picker-column__item')
.at(3)
.trigger('click');
expect(wrapper.emitted('change')[0][1]).toEqual(columns[1]);
});