MCPcopy
hub / github.com/angular/angular / test

Method test

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

Source from the content-addressed store, hash-verified

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

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
_selectorNeedsScopingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected