Skip to content

Commit d400ec1

Browse files
Update README.md
1 parent 9d00836 commit d400ec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blog/2025-11-migrate-to-vitest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ const onItem = vi.fn().mockName('onItem').mockReturnValue(true);
396396
Since Angular 21, unit tests run zoneless by default.
397397
This means: The old Angular helpers `waitForAsync()` and `fakeAsync()`/`tick()` no longer work automatically, because they rely on Zone.js.
398398
First of all, this has nothing to do with Vitest.
399-
Even under Jasmine, these utilities would have had to be dispensed with in a zone-free environment.
399+
Even under Jasmine, these utilities would have had to be replaced in a zone-free environment.
400400

401401
For simple asynchronous tests, you replace `waitForAsync()` with normal `async/await`, which has also been possible with Jasmine for many years.
402402
The following update therefore works independently of the test runner:

0 commit comments

Comments
 (0)