Are you using downgraded test-component in AngularJS? If so you may want to update Angular to version 18.2.6 or later to have this fix: https://github.com/angular/angular/pull/57020