TestModuleMetadata
providers
any[] | undefineddeclarations
any[] | undefinedimports
any[] | undefinedschemas
(any[] | SchemaMetadata)[] | undefinedteardown
ModuleTeardownOptions | undefinederrorOnUnknownElements
boolean | 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.
errorOnUnknownProperties
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.
rethrowApplicationErrors
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
DeferBlockBehavior | undefinedWhether defer blocks should behave with manual triggering or play through normally.
Defaults to manual.