diff --git a/examples/vitesse/src/auto-import.d.ts b/examples/vitesse/src/auto-import.d.ts index 9959df651b1b..5eb5ac528f5b 100644 --- a/examples/vitesse/src/auto-import.d.ts +++ b/examples/vitesse/src/auto-import.d.ts @@ -61,5 +61,5 @@ declare global { // for type re-export declare global { // @ts-ignore - export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue' + export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue' } diff --git a/packages/vitest/src/node/workspace.ts b/packages/vitest/src/node/workspace.ts index 9c41212b25e4..61b00db33d80 100644 --- a/packages/vitest/src/node/workspace.ts +++ b/packages/vitest/src/node/workspace.ts @@ -256,10 +256,10 @@ export class WorkspaceProject { if (filters.length) { return testFiles.filter((t) => { - const testFile = relative(dir, t) + const testFile = relative(dir, t).toLocaleLowerCase() return filters.some((f) => { const relativePath = f.endsWith('/') ? join(relative(dir, f), '/') : relative(dir, f) - return testFile.includes(f) || testFile.includes(relativePath) + return testFile.includes(f.toLocaleLowerCase()) || testFile.includes(relativePath.toLocaleLowerCase()) }) }) }