]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/app.component.spec.ts
import 15.2.1 Octopus source
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / app.component.spec.ts
1 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2 import { RouterTestingModule } from '@angular/router/testing';
3
4 import { AppComponent } from './app.component';
5
6 describe('AppComponent', () => {
7 let component: AppComponent;
8 let fixture: ComponentFixture<AppComponent>;
9
10 beforeEach(async(() => {
11 TestBed.configureTestingModule({
12 declarations: [AppComponent],
13 imports: [RouterTestingModule]
14 }).compileComponents();
15 }));
16
17 beforeEach(() => {
18 fixture = TestBed.createComponent(AppComponent);
19 component = fixture.componentInstance;
20 fixture.detectChanges();
21 });
22
23 it('should create', () => {
24 expect(component).toBeTruthy();
25 });
26 });