chore: add trailingComma

This commit is contained in:
陈嘉涵
2020-01-19 11:57:09 +08:00
parent e841175fe8
commit 389d68884d
269 changed files with 2706 additions and 2702 deletions

View File

@@ -6,7 +6,7 @@ test('sticky to top', () => {
<van-sticky style="height: 10px;">
Content
</van-sticky>
`
`,
});
expect(wrapper).toMatchSnapshot();
@@ -21,7 +21,7 @@ test('z-index prop', () => {
<van-sticky style="height: 10px;" :z-index="0">
Content
</van-sticky>
`
`,
});
mockScrollTop(100);
@@ -35,7 +35,7 @@ test('offset-top prop', () => {
<van-sticky style="height: 10px;" :offset-top="10">
Content
</van-sticky>
`
`,
});
mockScrollTop(100);
@@ -54,12 +54,12 @@ test('container prop', () => {
`,
data() {
return {
container: null
container: null,
};
},
mounted() {
this.container = this.$refs.container;
}
},
});
mockScrollTop(15);