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

Class DirectiveTestHost

packages/core/testing/src/test_bed.ts:1117–1128  ·  view source on GitHub ↗

Host component used when creating directives during tests.

Source from the content-addressed store, hash-verified

1115
1116/** Host component used when creating directives during tests. */
1117class DirectiveTestHost {
1118 static ɵfac = () => new DirectiveTestHost();
1119 static ɵcmp = ɵɵdefineComponent({
1120 type: DirectiveTestHost,
1121 // Set an attribute on the selector so we don't trigger component ID conflict warnings.
1122 selectors: [['div', 'ng-directive-test-component', '']],
1123 decls: 0,
1124 vars: 0,
1125 template: () => {},
1126 encapsulation: ViewEncapsulation.None,
1127 });
1128}

Callers

nothing calls this directly

Calls 1

ɵɵdefineComponentFunction · 0.90

Tested by

no test coverage detected