Closed turbo-xav closed 2 years ago
Duplicate of https://github.com/angular/angular/issues/45016
Likely you are using BrowserAnimationsModule
instead of NoopAnimationsModule
in your unit tests.
Thanks it works ;)
weird it just suddenly stopped working with the BroswerAnimationsMOdule
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Which @angular/* package(s) are the source of the bug?
animations
Is this a regression?
Yes
Description
Hello,
When i execute test with Jest after upgrading Angular to V13, I obtain an error : TypeError: element.animate is not a function It occurs when Mat-Table element is present in Component's HTML template. <table mat-table [dataSource]="persons" matSort> ....
Thanks for your help
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response