File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ export class WorkspaceProject {
332332
333333 filterFiles ( testFiles : string [ ] , filters : string [ ] , dir : string ) {
334334 if ( filters . length && process . platform === 'win32' ) {
335- filters = filters . map ( f => path . toNamespacedPath ( f ) )
335+ filters = filters . map ( f => slash ( f ) )
336336 }
337337
338338 if ( filters . length ) {
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { runVitest } from '../../test-utils'
55it ( 'summary' , async ( ) => {
66 const root = pathe . join ( import . meta. dirname , '../fixtures/reporter' )
77 const result = await runVitest ( { root } , [ 'summary.bench.ts' ] , 'benchmark' )
8+ expect ( result . stderr ) . toBe ( '' )
89 expect ( result . stdout ) . not . toContain ( 'NaNx' )
910 expect ( result . stdout . split ( 'BENCH Summary' ) [ 1 ] . replaceAll ( / [ 0 - 9 . ] + x / g, '(?)' ) ) . toMatchSnapshot ( )
1011} )
You can’t perform that action at this time.
0 commit comments