From 337b8ed0744cfa7c850aa02c6b3b35361b589a4d Mon Sep 17 00:00:00 2001 From: Evan You Date: Thu, 15 Aug 2024 15:22:32 +0800 Subject: [PATCH] chore: 3.5 temporary compat --- tests/nuxt.ts | 1 + tests/vant.ts | 10 ++++++++++ tests/vue-macros.ts | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/tests/nuxt.ts b/tests/nuxt.ts index a50f318..e07819b 100644 --- a/tests/nuxt.ts +++ b/tests/nuxt.ts @@ -8,5 +8,6 @@ export async function test(options: RunOptions) { build: ['dev:prepare', 'typecheck', 'build'], beforeTest: ['pnpm playwright-core install chromium'], test: ['test:unit', 'test:types', 'test:fixtures'], + branch: 'chore/vue-3.5', }) } diff --git a/tests/vant.ts b/tests/vant.ts index e9172d4..0c6efa9 100644 --- a/tests/vant.ts +++ b/tests/vant.ts @@ -1,5 +1,7 @@ import { runInRepo } from '../utils.ts' import { RunOptions } from '../types.ts' +import fs from 'node:fs' +import path from 'node:path' export async function test(options: RunOptions) { await runInRepo({ @@ -8,5 +10,13 @@ export async function test(options: RunOptions) { branch: 'main', build: 'build', test: 'test', + async beforeTest() { + fs.rmSync( + path.join( + options.workspace, + 'vant/packages/vant/src/col/test/demo-ssr.spec.ts', + ), + ) + }, }) } diff --git a/tests/vue-macros.ts b/tests/vue-macros.ts index 9b0bd65..124ec2c 100644 --- a/tests/vue-macros.ts +++ b/tests/vue-macros.ts @@ -5,7 +5,7 @@ export async function test(options: RunOptions) { await runInRepo({ ...options, repo: 'sxzz/unplugin-vue-macros', - branch: 'main', + branch: 'vue-ecosystem-ci', build: 'build', test: ['test:ecosystem'], })