Skip to content

Commit

Permalink
feat: support case-insensitive path matching in cli (fix vitest-dev#3567
Browse files Browse the repository at this point in the history
)
  • Loading branch information
tigranmk committed Jan 9, 2024
1 parent a73c1c2 commit 84b92ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/vitesse/src/auto-import.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
2 changes: 1 addition & 1 deletion packages/vitest/src/node/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ async function start(mode: VitestRunMode, cliFilters: string[], options: CliOpti
catch {}

try {
const ctx = await startVitest(mode, cliFilters.map(normalize), normalizeCliOptions(options))
const ctx = await startVitest(mode, cliFilters.map(cliFilter => normalize(cliFilter.toLocaleLowerCase())), normalizeCliOptions(options))
if (!ctx?.shouldKeepServer())
await ctx?.exit()
return ctx
Expand Down

0 comments on commit 84b92ae

Please sign in to comment.