From: Evan You Date: Sat, 8 Feb 2025 13:46:47 +0000 (+0800) Subject: chore: fix ci X-Git-Tag: v3.6.0-alpha.1~16^2~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2b320bca734d04b50eeaae23e15c5a084bc6ab8;p=thirdparty%2Fvuejs%2Fcore.git chore: fix ci --- diff --git a/packages/runtime-vapor/src/directives/custom.ts b/packages/runtime-vapor/src/directives/custom.ts index 06a5a99cd9..008caa7463 100644 --- a/packages/runtime-vapor/src/directives/custom.ts +++ b/packages/runtime-vapor/src/directives/custom.ts @@ -10,7 +10,7 @@ export type VaporDirective = ( modifiers?: DirectiveModifiers, ) => (() => void) | void -type DirectiveArguments = Array< +type VaporDirectiveArguments = Array< | [VaporDirective | undefined] | [VaporDirective | undefined, () => any] | [VaporDirective | undefined, () => any, argument: string] @@ -24,7 +24,7 @@ type DirectiveArguments = Array< export function withVaporDirectives( node: Element | VaporComponentInstance, - dirs: DirectiveArguments, + dirs: VaporDirectiveArguments, ): void { // TODO handle custom directive on component for (const [dir, value, argument, modifiers] of dirs) { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 05fb94ef2a..87cf3878e8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -223,8 +223,6 @@ importers: specifier: workspace:* version: link:../../packages/vue - packages-private/e2e-utils: {} - packages-private/local-playground: dependencies: '@vueuse/core': diff --git a/vitest.config.ts b/vitest.config.ts index 8daa34f7ed..a7a9ae6047 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -80,6 +80,7 @@ export default defineConfig({ extends: true, test: { name: 'e2e', + environment: 'jsdom', poolOptions: { threads: { singleThread: !!process.env.CI,