W3cubDocs

/Angular

TestComponentOptions

Options that can be configured for a test component.

API

interface TestComponentOptions {
  bindings?: Binding[] | undefined;
  inferTagName?: boolean | undefined;
}

bindings

Binding[] | undefined

Bindings to apply to the test component.

inferTagName

boolean | undefined

Whether to infer the tag name of the test component from its selector. Otherwise div will be used as its tag name.

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/testing/TestComponentOptions