(value: any)
| 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]}); |
no outgoing calls
no test coverage detected