Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$animate.flush() does not flush $animateCss animations in queue #13005

Closed
@wesleycho

Description

@wesleycho

We have an issue in angular-ui/bootstrap#4493 where it turns out that $animate.flush() does not flush the animations queued up by $animateCss, so the expandDone callback in the promise chain never fires in the collapse directive, which is causing some testing problems.

In particular, the .then callback in the promise returned by $animateCss(...).start() never gets called because there is no mechanism in ngMock for flushing out the queued animation.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions