import { provideRouter } from '@angular/router'; import { render, screen } from '@testing-library/angular'; import { App } from './app'; describe('App', () => { it('renders the router outlet shell', async () => { const { container } = await render(App, { providers: [provideRouter([])], }); // The shell is a thin host for routed pages (the RegistrationPage owns the heading). expect(container.querySelector('router-outlet')).toBeTruthy(); expect(screen).toBeTruthy(); }); });