createDynamicTestBed<T extends Object> function
NgTestBed<T>
createDynamicTestBed<T extends Object>({
- Element? host,
- InjectorFactory? rootInjector,
- bool watchAngularLifecycle = true,
An alternative factory for NgTestBed that allows not typing T.
This is for compatibility reasons only and should not be used otherwise.
Implementation
NgTestBed<T> createDynamicTestBed<T extends Object>({
web.Element? host,
InjectorFactory? rootInjector,
bool watchAngularLifecycle = true,
}) {
return NgTestBed<T>._allowDynamicType(
host: host,
rootInjector: rootInjector,
watchAngularLifecycle: watchAngularLifecycle,
);
}