frontend-toegevoegd

This commit is contained in:
2026-10-27 15:34:56 +01:00
parent 777d9f199d
commit 02337fafaa
43 changed files with 10548 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import { TestBed } from '@angular/core/testing';
import { provideRouter } from '@angular/router';
import { App } from './app';
describe('Application shell', () => {
it('provides navigation and a keyboard skip link', async () => {
await TestBed.configureTestingModule({
imports: [App],
providers: [provideRouter([])],
}).compileComponents();
const fixture = TestBed.createComponent(App);
await fixture.whenStable();
const page = fixture.nativeElement as HTMLElement;
expect(page.querySelector('nav[aria-label="Hoofdnavigatie"] a')?.getAttribute('href')).toBe(
'/schools',
);
expect(page.querySelector('.skip-link')?.getAttribute('href')).toBe('#main-content');
});
});