fixed jsonpath
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

removed all grafana references
This commit is contained in:
Samuel Philipp 2020-07-05 22:09:28 +02:00
parent 8f5d83fd60
commit b442cb7f4f
10 changed files with 39 additions and 38 deletions

View file

@ -20,16 +20,16 @@ describe('AppComponent', () => {
expect(app).toBeTruthy();
});
it(`should have as title 'grafana-statuspage'`, () => {
it(`should have as title 'universal-statuspage'`, () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.componentInstance;
expect(app.title).toEqual('grafana-statuspage');
expect(app.title).toEqual('universal-statuspage');
});
it('should render title', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.nativeElement;
expect(compiled.querySelector('.content span').textContent).toContain('grafana-statuspage app is running!');
expect(compiled.querySelector('.content span').textContent).toContain('universal-statuspage app is running!');
});
});