Make unit tests zoneless#4899
Make unit tests zoneless#4899JanneSaukkio wants to merge 23 commits into
Conversation
b47b5aa to
37bfc81
Compare
|
@quentinderoubaix rebased for Angular 22. All tests pass on Chromium. |
|
@JanneSaukkio thanks for the contribution! would you mind rebasing one more time (included playwright 1.61.0)? I will review afterwards, and my expectations for a merge are:
|
Will do.
Making this change will take a while. There are over 1000 |
We can proceed component per component, smaller scope and easier review too. |
37bfc81 to
3febeff
Compare
|
Earlier changes:
New changes made:
No changes have been made to the library code itself. I haven't changed any test assertions apart from converting them to async/await in one case (see Each component/module receives beforementioned changes in its own commit. I can break this PR to multiple ones if it's easier for you to review. There are around 30 failing Firefox and Webkit test cases when running There are some "OnPush TestComponents" left to cleanup. It's best to clean them in separate PR after other changes have been merged. |
…ent` test utility function
3febeff to
f5ad061
Compare
I might as well update all the remaining unit tests to work as zoneless. Changes to tests of each component are divided into its own commits and there are some extra cleanup.
Ref #4879