The Wayback Machine - https://web.archive.org/web/20260217031718/https://angular.dev/api/core/testing/TestComponentOptions
    • Overview
@angular/core/testing

TestComponentOptions

interface
stable

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.

Jump to details
HTTPS · web.archive.org
← Home