Skip to content
Snippets Groups Projects
Commit c87a9c73 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-7021 Delete unused title

parent 7b76d918
Branches
Tags
No related merge requests found
import { TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing'; import { RouterTestingModule } from '@angular/router/testing';
import { AppComponent } from './app.component'; import { AppComponent } from './app.component';
describe('AppComponent', () => { describe('AppComponent', () => {
let component: AppComponent;
let fixture: ComponentFixture<AppComponent>;
beforeEach(async () => { beforeEach(async () => {
await TestBed.configureTestingModule({ await TestBed.configureTestingModule({
imports: [AppComponent, RouterTestingModule], imports: [AppComponent, RouterTestingModule],
}).compileComponents(); }).compileComponents();
}); });
it(`should have as title 'info'`, () => { beforeEach(() => {
const fixture = TestBed.createComponent(AppComponent); fixture = TestBed.createComponent(AppComponent);
const app = fixture.componentInstance; component = fixture.componentInstance;
expect(app.title).toEqual('info'); fixture.detectChanges();
});
it('should create the app', () => {
expect(component).toBeTruthy();
}); });
}); });
...@@ -8,6 +8,4 @@ import { OzgLogoIconComponent } from '@ods/system'; ...@@ -8,6 +8,4 @@ import { OzgLogoIconComponent } from '@ods/system';
selector: 'app-root', selector: 'app-root',
templateUrl: './app.component.html', templateUrl: './app.component.html',
}) })
export class AppComponent { export class AppComponent {}
title = 'info';
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment