Topic: Testing MDB components after removing animation imports

PixelNinja free asked 3 weeks ago


A cleanup removed our animation import because the editor flagged it as deprecated. Component tests now fail around overlay creation.

Should the import remain until a migration is available?


Arkadiusz Idzikowski staff answered 3 weeks ago


Restore the test animation setup first and rerun the failing component test. Deleting animation providers can break overlay initialization even though the editor labels the module deprecated.

NoopAnimationsModule provides animation infrastructure without visible animation playback. Please send the full first error and TestBed configuration if the failure remains. That will tell us whether the missing dependency is animation support or a separate overlay provider.

https://angular.dev/api/platform-browser/animations/NoopAnimationsModule



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: MDB5 9.1.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No