menu
menuAPI
interface TestModuleMetadata { providers?: any[] | undefined; declarations?: any[] | undefined; imports?: any[] | undefined; schemas?: (any[] | SchemaMetadata)[] | undefined; teardown?: ModuleTeardownOptions | undefined; errorOnUnknownElements?: boolean | undefined; errorOnUnknownProperties?: boolean | undefined; rethrowApplicationErrors?: boolean | undefined; deferBlockBehavior?: DeferBlockBehavior | undefined; inferTagName?: boolean | undefined; animationsEnabled?: boolean | undefined;}
any[] | undefinedany[] | undefinedany[] | undefined(any[] | SchemaMetadata)[] | undefinedModuleTeardownOptions | undefinedboolean | undefinedWhether NG0304 runtime errors should be thrown when unknown elements are present in component's
template. Defaults to false, where the error is simply logged. If set to true, the error is
thrown.
boolean | undefinedWhether errors should be thrown when unknown properties are present in component's template.
Defaults to false, where the error is simply logged.
If set to true, the error is thrown.
boolean | undefinedWhether errors that happen during application change detection should be rethrown.
When true, errors that are caught during application change detection will
be reported to the ErrorHandler and rethrown to prevent them from going
unnoticed in tests.
When false, errors are only forwarded to the ErrorHandler, which by default
simply logs them to the console.
Defaults to true.
DeferBlockBehavior | undefinedWhether defer blocks should behave with manual triggering or play through normally.
Defaults to manual.
boolean | undefinedWhether to infer the tag name of test components from their selectors.
Otherwise div will be used as the tag name for test components.
boolean | undefinedWhether animate.enter / animate.leave should trigger as normal or be disabled.
Defaults to false.