refactor(ct-angular): fix angular slots

This commit is contained in:
Younes Jaaidi 2024-02-23 01:30:00 +01:00
parent d50eb338f3
commit 8029022f02
No known key found for this signature in database
GPG key ID: 3126C5717BDF3241

View file

@ -104,7 +104,7 @@ async function __pwRenderComponent(component) {
await TestBed.compileComponents();
__pwUpdateSlots(WrapperComponent, component.options?.slots, componentMetadata.selector);
__pwUpdateSlots(WrapperComponent, component.slots, componentMetadata.selector);
// TODO: only inject when router is provided
TestBed.inject(Router).initialNavigation();