This commit is contained in:
2025-02-04 09:15:20 +01:00
parent 59e90dc534
commit 9ab7a128f3
19 changed files with 383 additions and 286 deletions

View File

@ -24,6 +24,8 @@ describe('AppComponent', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.nativeElement as HTMLElement;
expect(compiled.querySelector('h1')?.textContent).toContain('Hello, hotel-manager');
expect(compiled.querySelector('h1')?.textContent).toContain(
'Hello, hotel-manager',
);
});
});