Commit 6576bb5
committed
fix(@angular/build): remove explicit test isolation configuration
This commit removes the explicit `isolate` option from the Vitest configuration within the Angular CLI builder.
Previously, the `isolate` option was explicitly set to `false` for DOM emulation and browser mode. However, due to observed non-deterministic failures and the need for consistent isolation behavior across all environments, it's more robust to allow Vitest to manage test isolation by its own default mechanisms. This change ensures that Vitest's internal defaults for isolation are respected, which are generally designed for optimal reliability.
(cherry picked from commit 138649e)1 parent ee5e127 commit 6576bb5
File tree
1 file changed
+1
-2
lines changed- packages/angular/build/src/builders/unit-test/runners/vitest
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
| 120 | + | |
122 | 121 | | |
123 | 122 | | |
124 | 123 | | |
| |||
0 commit comments