diff --git a/example/src/app/app.component.spec.ts b/example/src/app/app.component.spec.ts index a375012262473207fc234b3d8abf9cd10de669bb..9fb1959bc7187872c293a408a39adb072cd59f36 100644 --- a/example/src/app/app.component.spec.ts +++ b/example/src/app/app.component.spec.ts @@ -15,18 +15,23 @@ describe('AppComponent', () => { expect(app).toBeTruthy(); }); - it("should have as title 'example'", () => { + it("should have as title 'Disaggregation'", () => { const fixture = TestBed.createComponent(AppComponent); const app = fixture.componentInstance; - expect(app.title).toEqual('example'); + expect(app.title).toEqual('Disaggregation'); }); - it('should render title', () => { + it('should render select menu', () => { const fixture = TestBed.createComponent(AppComponent); fixture.detectChanges(); const compiled = fixture.nativeElement; - expect(compiled.querySelector('.content span').textContent).toContain( - 'example app is running!' - ); + expect(compiled.querySelector('select')).toBeTruthy(); + }); + + it('should render svg', () => { + const fixture = TestBed.createComponent(AppComponent); + fixture.detectChanges(); + const compiled = fixture.nativeElement; + expect(compiled.querySelector('svg')).toBeTruthy(); }); });