MCPcopy Index your code
hub / github.com/angular/angular / matchMyShape

Function matchMyShape

packages/core/test/render3/matchers_spec.ts:31–33  ·  view source on GitHub ↗
(expected?: Partial<MyShape>)

Source from the content-addressed store, hash-verified

29 }
30 const ShapeOfMyShape: ShapeOf<MyShape> = {propA: true, propB: true};
31 function matchMyShape(expected?: Partial<MyShape>): jasmine.AsymmetricMatcher<MyShape> {
32 return matchObjectShape('MyShape', isMyShape, expected);
33 }
34
35 it('should match', () => {
36 expect(isMyShape(myShape)).toBeTrue();

Callers 1

matchers_spec.tsFile · 0.85

Calls 1

matchObjectShapeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…