diff --git a/packages/vant/src/image/test/index.spec.ts b/packages/vant/src/image/test/index.spec.ts index 7d87c5bc7..2945be63c 100644 --- a/packages/vant/src/image/test/index.spec.ts +++ b/packages/vant/src/image/test/index.spec.ts @@ -1,3 +1,4 @@ +import 'vitest-canvas-mock'; import { mount } from '../../../test'; import { Lazyload } from '../../lazyload'; import VanImage from '..'; diff --git a/packages/vant/src/signature/test/__snapshots__/demo.spec.ts.snap b/packages/vant/src/signature/test/__snapshots__/demo.spec.ts.snap index c71d64425..04af06e2a 100644 --- a/packages/vant/src/signature/test/__snapshots__/demo.spec.ts.snap +++ b/packages/vant/src/signature/test/__snapshots__/demo.spec.ts.snap @@ -4,8 +4,11 @@ exports[`should render demo and match snapshot 1`] = `
-
+