Skip to content

Commit

Permalink
chore: 3.5 temporary compat
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Aug 15, 2024
1 parent 90d45fc commit 337b8ed
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/nuxt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
})
}
10 changes: 10 additions & 0 deletions tests/vant.ts
Original file line number Diff line number Diff line change
@@ -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({
Expand All @@ -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',
),
)
},
})
}
2 changes: 1 addition & 1 deletion tests/vue-macros.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
})
Expand Down

0 comments on commit 337b8ed

Please sign in to comment.