Skip to content

Commit

Permalink
Updating spec tests for app component
Browse files Browse the repository at this point in the history
  • Loading branch information
rotirk20 committed Aug 25, 2024
1 parent edded70 commit 43375be
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,4 @@ describe('AppComponent', () => {
const app = fixture.componentInstance;
expect(app).toBeTruthy();
});

it(`should have as title 'smetovi'`, () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.componentInstance;
expect(app.title).toEqual('smetovi');
});

it('should render title', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.nativeElement as HTMLElement;
expect(compiled.querySelector('.content span')?.textContent).toContain('smetovi app is running!');
});
});

0 comments on commit 43375be

Please sign in to comment.