chore: prettier source code

This commit is contained in:
chenjiahan
2020-04-02 15:36:02 +08:00
parent 340c56b3b5
commit 2fb5cca49a
93 changed files with 272 additions and 283 deletions

View File

@@ -75,7 +75,7 @@ test('route mode match by name', async () => {
expect(wrapper).toMatchSnapshot();
});
test('router NavigationDuplicated', async done => {
test('router NavigationDuplicated', async (done) => {
expect(async () => {
const router = new VueRouter();
const wrapper = mount({
@@ -157,10 +157,7 @@ test('name prop', () => {
},
});
wrapper
.findAll('.van-tabbar-item')
.at(1)
.trigger('click');
wrapper.findAll('.van-tabbar-item').at(1).trigger('click');
expect(onChange).toHaveBeenCalledWith('b');
});