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

Method test

packages/core/test/acceptance/directive_spec.ts:66–73  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

64 /** Setter to assert that a binding is not invoked with stringified attribute value */
65 @Input()
66 set test(value: any) {
67 // Assert that the binding is processed correctly. The property should be set
68 // to a "false" boolean and never to the "false" string literal.
69 this.testValue = value;
70 if (value !== false) {
71 fail('Should only be called with a false Boolean value, got a non-falsy value');
72 }
73 }
74 }
75
76 TestBed.overrideComponent(TestComponent, {

Callers 15

resolveFunction · 0.45
safety-worker.jsFile · 0.45
isLocalhostFunction · 0.45
onFetchMethod · 0.45
handleFetchMethod · 0.45
handleFetchFunction · 0.45
initializeFullyMethod · 0.45
isNavigationRequestMethod · 0.45
matchesFunction · 0.45
_scopeSelectorsMethod · 0.45
_selectorNeedsScopingMethod · 0.45

Calls 1

failFunction · 0.85

Tested by

no test coverage detected