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

Function defineFn

adev/src/app/features/home/animation/animation.spec.ts:109–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107
108 it(`should throw an error if a layer doesn't exist`, () => {
109 const defineFn = () =>
110 animation.define([
111 {
112 selector: 'layer-4',
113 at: 1,
114 styles: {},
115 },
116 ]);
117
118 expect(defineFn).toThrowError('Animation: Missing layer ID: layer-4');
119 });

Callers

nothing calls this directly

Calls 1

defineMethod · 0.80

Tested by

no test coverage detected