From 2325599536fe0535b560d34f1e2baae5e234daf2 Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 25 Feb 2024 20:48:38 +0800 Subject: [PATCH] test: skip image SSR test case (#12644) --- .../{demo-ssr.spec.ts.snap => demo-ssr.spec.ts.skip} | 0 .../vant/src/image/test/{demo-ssr.spec.ts => demo-ssr.skip.ts} | 3 +++ 2 files changed, 3 insertions(+) rename packages/vant/src/image/test/__snapshots__/{demo-ssr.spec.ts.snap => demo-ssr.spec.ts.skip} (100%) rename packages/vant/src/image/test/{demo-ssr.spec.ts => demo-ssr.skip.ts} (56%) diff --git a/packages/vant/src/image/test/__snapshots__/demo-ssr.spec.ts.snap b/packages/vant/src/image/test/__snapshots__/demo-ssr.spec.ts.skip similarity index 100% rename from packages/vant/src/image/test/__snapshots__/demo-ssr.spec.ts.snap rename to packages/vant/src/image/test/__snapshots__/demo-ssr.spec.ts.skip diff --git a/packages/vant/src/image/test/demo-ssr.spec.ts b/packages/vant/src/image/test/demo-ssr.skip.ts similarity index 56% rename from packages/vant/src/image/test/demo-ssr.spec.ts rename to packages/vant/src/image/test/demo-ssr.skip.ts index e00f7b093..de4fd1c1c 100644 --- a/packages/vant/src/image/test/demo-ssr.spec.ts +++ b/packages/vant/src/image/test/demo-ssr.skip.ts @@ -1,6 +1,9 @@ /** * @vitest-environment node */ +// TODO +// enable this case and update snapshot after bump Vue new version +// see: https://github.com/vuejs/core/pull/10397 import Demo from '../demo/index.vue'; import { snapshotDemo } from '../../../test/demo';