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

Class TestDir

packages/forms/signals/test/web/interop.spec.ts:676–679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

674 describe('disabled', () => {
675 it('should bind to directive input', () => {
676 @Directive({selector: '[testDir]'})
677 class TestDir {
678 readonly disabled = input.required<boolean>();
679 }
680
681 @Component({
682 imports: [FormField, TestDir, CustomControl],

Callers

nothing calls this directly

Calls 2

DirectiveInterface · 0.90
requiredMethod · 0.45

Tested by

no test coverage detected