Skip to content

Conversation

@timdeschryver
Copy link
Member

@timdeschryver timdeschryver commented Dec 14, 2025

Some changes:

  • wait-for fixture needed to be updated to use Signals to prevent ExpressionChangedAfterItHasBeenCheckedError This occurred because jest and Vitest before/after hooks were interfering with each other
  • wait-for-element-to-be-removed fixture needed to be updated to use Signals to prevent ExpressionChangedAfterItHasBeenCheckedError This occurred because jest and Vitest before/after hooks were interfering with each other
  • fakeAsync test needed to be removed because it requires zone.js
  • defer test on click needed to use screen.findByText after a click instead of screen.getByText

Closes #524

@timdeschryver timdeschryver force-pushed the ng-21 branch 6 times, most recently from 5feeb13 to 3b712f1 Compare December 15, 2025 20:10
try {
const appRef = fixture.componentRef.injector.get(ApplicationRef);
if (!appRef.destroyed) {
fixture.changeDetectorRef.markForCheck();
Copy link
Member Author

@timdeschryver timdeschryver Dec 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

markForCheck is added here for non-signal based properties that are updated (in zoneless applications).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants