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 7 times, most recently from 3b712f1 to 16df6c3 Compare December 15, 2025 20:19
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).

@timdeschryver timdeschryver force-pushed the ng-21 branch 2 times, most recently from 7e4f2ac to 8a28ae1 Compare December 16, 2025 11:25
@timdeschryver timdeschryver changed the title feat: update to Angular 21 (and switch to Vitest) feat: update to Angular 21 Dec 16, 2025
@timdeschryver timdeschryver merged commit 44f1273 into beta Dec 16, 2025
6 checks passed
@timdeschryver timdeschryver deleted the ng-21 branch December 16, 2025 12:50
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