mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
chore: add trailingComma
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user