Commit 39b307d
committed
refactor(@angular/build): remove unnecessary source-map-support polyfill for Vitest browser coverage
Removes the injection of the source-map-support library in the Vitest builder. This workaround was previously required for correct stack traces in browser mode when coverage was enabled but is no longer necessary. This change simplifies the plugin logic and ensures source maps are consistently handled.1 parent b33678e commit 39b307d
File tree
2 files changed
+17
-40
lines changed- packages/angular/build/src/builders/unit-test/runners/vitest
- tests/e2e/tests/vitest
2 files changed
+17
-40
lines changedLines changed: 1 addition & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | 117 | | |
127 | 118 | | |
128 | 119 | | |
| |||
276 | 267 | | |
277 | 268 | | |
278 | 269 | | |
279 | | - | |
| 270 | + | |
280 | 271 | | |
281 | 272 | | |
282 | 273 | | |
| |||
343 | 334 | | |
344 | 335 | | |
345 | 336 | | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | 337 | | |
377 | 338 | | |
378 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
40 | 56 | | |
0 commit comments