Commit 1d26eb5
committed
fix(@angular/build): use global unit-test hooks during TestBed init
To provide improved Zone.js support with the experimental `unit-test` builder
using the `vitest` runner, the TestBed initialization now uses the global
`beforeEach`/`afterEach` test hooks. The global hooks can be patched by
Zone.js. The vitest globals are always available when using the `unit-test`
builder.1 parent ce28407 commit 1d26eb5
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | 148 | | |
150 | 149 | | |
151 | 150 | | |
| |||
0 commit comments