MCPcopy Create free account
hub / github.com/angular/angular / completeAnimations

Function completeAnimations

packages/core/test/acceptance/integration_spec.ts:4010–4015  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4008});
4009
4010async function completeAnimations() {
4011 await timeout(0);
4012 const log = MockAnimationDriver.log as MockAnimationPlayer[];
4013 log.forEach((player) => player.finish());
4014 await timeout(0);
4015}
4016
4017function arraySwap(arr: any[], indexA: number, indexB: number): void {
4018 const item = arr[indexA];

Callers 1

Calls 3

timeoutFunction · 0.90
finishMethod · 0.65
forEachMethod · 0.45

Tested by

no test coverage detected