When I ran Angular unit test I got the following error many times:
Error: NG03600: Angular detected that the AnimationBuilder
was injected, but animation support was not enabled. Please make sure that you enable animations in your application by calling provideAnimations()
or provideAnimationsAsync()
function.
What can be the cause of that, how can I fix that?