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

Function matchTNode

packages/core/test/render3/matchers.ts:92–94  ·  view source on GitHub ↗
(expected?: Partial<TNode>)

Source from the content-addressed store, hash-verified

90 * @param expected optional properties which the `TNode` must contain.
91 */
92export function matchTNode(expected?: Partial<TNode>): jasmine.AsymmetricMatcher<TNode> {
93 return matchObjectShape('TNode', isTNode, expected);
94}
95
96/**
97 * Asymmetric matcher which matches a `T18n` of a given shape.

Callers 3

matchers_spec.tsFile · 0.90
i18n_spec.tsFile · 0.90

Calls 1

matchObjectShapeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…