feat(@vant/cli): bump husky v8 (#10622)

* feat(@vant/cli): bump husky v8

* chore: fix lint issue
This commit is contained in:
neverland
2022-05-22 19:28:34 +08:00
committed by GitHub
parent 99d705e597
commit 0c0191332a
6 changed files with 2736 additions and 2867 deletions
@@ -6,9 +6,9 @@ exports[`should render content slot correctly 1`] = `
</div>
`;
exports[`should render nothing when content is empty string 1`] = ``;
exports[`should render nothing when content is empty string 1`] = `""`;
exports[`should render nothing when content is undefined 1`] = ``;
exports[`should render nothing when content is undefined 1`] = `""`;
exports[`should render nothing when content is zero 1`] = `
<div class="van-badge van-badge--top-right">
@@ -565,7 +565,7 @@ test('close-preview event', async () => {
});
await later();
wrapper.find('.van-image').trigger('click');
await wrapper.find('.van-image').trigger('click');
const preview = document.querySelector<HTMLDivElement>('.van-image-preview');
const swipe = preview?.querySelector<HTMLDivElement>(