File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/angular/build/src/builders/unit-test Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export async function findTests(
6565 } ) ;
6666
6767 for ( const match of globMatches ) {
68- resolvedTestFiles . add ( match ) ;
68+ resolvedTestFiles . add ( toPosixPath ( match ) ) ;
6969 }
7070 }
7171
@@ -261,15 +261,15 @@ async function resolveStaticPattern(
261261 for ( const infix of TEST_FILE_INFIXES ) {
262262 const potentialSpec = join ( dirname ( fullPath ) , `${ baseName } ${ infix } ${ fileExt } ` ) ;
263263 if ( await exists ( potentialSpec ) ) {
264- return { resolved : [ potentialSpec ] , unresolved : [ ] } ;
264+ return { resolved : [ toPosixPath ( potentialSpec ) ] , unresolved : [ ] } ;
265265 }
266266 }
267267
268268 if ( await exists ( fullPath ) ) {
269- return { resolved : [ fullPath ] , unresolved : [ ] } ;
269+ return { resolved : [ toPosixPath ( fullPath ) ] , unresolved : [ ] } ;
270270 }
271271
272- return { resolved : [ ] , unresolved : [ pattern ] } ;
272+ return { resolved : [ ] , unresolved : [ toPosixPath ( pattern ) ] } ;
273273}
274274
275275/** Checks if a path exists and is a directory. */
You can’t perform that action at this time.
0 commit comments