Commit bf468e1
committed
fix(@angular/build): direct check include file exists in unit-test discovery
When discovering unit-test files, the `include` option values that are
not dynamic patterns will now be checked directly if they exist on the
file system. This avoids glob calls for specific files and helps avoid
Windows pathing issues with glob syntax.1 parent 122a8c0 commit bf468e1
File tree
1 file changed
+7
-7
lines changed- packages/angular/build/src/builders/unit-test
1 file changed
+7
-7
lines changedLines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
236 | | - | |
| 235 | + | |
| 236 | + | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
| 239 | + | |
244 | 240 | | |
245 | 241 | | |
246 | 242 | | |
247 | 243 | | |
248 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
0 commit comments