Commit 49b65ab
committed
fix(@angular/build): disable Vitest test isolation by default
Disables test isolation in Vitest by setting `isolate: false` in the default
Vitest configuration. This change aligns the default test isolation behavior
with the existing Karma/Jasmine experience, promoting standardization across
testing frameworks within the Angular CLI.
This also provides significant performance improvements, especially in browser
mode, by reducing the overhead associated with test isolation. All known issues
related to disabling isolation have been addressed.
(cherry picked from commit 4d42a3e)1 parent 6b2a88a commit 49b65ab
1 file changed
Lines changed: 2 additions & 1 deletion
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
0 commit comments