Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core): private export token to disable `fixture.detectChange…
…s` error (#55098) While we do want to discourage `fixture.detectChanges`, it is yet to be determined how this should be accomplished (warning, documentation, etc.). At the moment, not being able to disable the error at all is entirely prohibitive for existing test suites to use zoneless change detection in tests. We would much rather allow existing test suites to disable the error and use the zoneless change detection than prevent them from using it entirely until all the `detectChanges` calls have been fixed. Calling `detectChanges` manually can hide errors related to change detection timing, but it is even worse when the "PseudoApplication" fixture used (since it runs change detection _only_ on the component rather than through `ApplicationRef`). PR Close #55098
- Loading branch information