test: should not emit deprecation warning in test (#7356)

This commit is contained in:
neverland
2020-10-18 19:54:39 +08:00
committed by GitHub
parent 1b97315b54
commit 22888a7e97
20 changed files with 50 additions and 78 deletions
+2 -2
View File
@@ -246,11 +246,11 @@ test('dot prop', () => {
expect(wrapper).toMatchSnapshot();
});
test('info prop', () => {
test('badge prop', () => {
const wrapper = mount({
template: `
<van-tabs>
<van-tab info="10">Text</van-tab>
<van-tab badge="10">Text</van-tab>
</van-tabs>
`,
});