refactor(ct-angular): fix angular slots
This commit is contained in:
parent
d50eb338f3
commit
8029022f02
|
|
@ -104,7 +104,7 @@ async function __pwRenderComponent(component) {
|
||||||
|
|
||||||
await TestBed.compileComponents();
|
await TestBed.compileComponents();
|
||||||
|
|
||||||
__pwUpdateSlots(WrapperComponent, component.options?.slots, componentMetadata.selector);
|
__pwUpdateSlots(WrapperComponent, component.slots, componentMetadata.selector);
|
||||||
|
|
||||||
// TODO: only inject when router is provided
|
// TODO: only inject when router is provided
|
||||||
TestBed.inject(Router).initialNavigation();
|
TestBed.inject(Router).initialNavigation();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue