[improvement] update eslint config (#2288)

This commit is contained in:
neverland
2018-12-14 14:24:23 +08:00
committed by GitHub
parent d2751ffdfa
commit 16e4889a92
141 changed files with 6387 additions and 7536 deletions
@@ -16,18 +16,10 @@ exports[`renders demo correctly 1`] = `
<div>
<div class="van-swipe">
<div class="van-swipe__track" style="width:0px;height:;transition-duration:500ms;transform:translateX(0px);">
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);">
<img>
</div>
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);">
<img>
</div>
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);">
<img>
</div>
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);">
<img>
</div>
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);"><img></div>
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);"><img></div>
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);"><img></div>
<div class="van-swipe-item" style="width:0px;height:100%;transform:translateX(0px);"><img></div>
</div>
<!---->
</div>
+1 -1
View File
@@ -43,7 +43,7 @@ const Component = {
}
};
test('swipeTo', async() => {
test('swipeTo', async () => {
const wrapper = mount(Component);
const { swipe } = wrapper.vm.$refs;
swipe.swipeTo(2);