]> git.apps.os.sepia.ceph.com Git - ceph.git/blob
cb68a3f1f515c5e2f5e0a73d8c2ce3ff1e33cd50
[ceph.git] /
1 import { ComponentFixture, TestBed } from '@angular/core/testing';
2
3 import { UpgradeComponent } from '../upgrade.component';
4 import { configureTestBed } from '~/testing/unit-test-helper';
5 import { UpgradeService } from '~/app/shared/api/upgrade.service';
6 import { HttpClientTestingModule } from '@angular/common/http/testing';
7 import { NO_ERRORS_SCHEMA } from '@angular/core';
8 import { SharedModule } from '~/app/shared/shared.module';
9
10 describe('UpgradeComponent', () => {
11   let component: UpgradeComponent;
12   let fixture: ComponentFixture<UpgradeComponent>;
13
14   configureTestBed({
15     imports: [HttpClientTestingModule, SharedModule],
16     schemas: [NO_ERRORS_SCHEMA],
17     declarations: [UpgradeComponent],
18     providers: [UpgradeService]
19   });
20
21   beforeEach(() => {
22     fixture = TestBed.createComponent(UpgradeComponent);
23     component = fixture.componentInstance;
24     fixture.detectChanges();
25   });
26
27   it('should create', () => {
28     expect(component).toBeTruthy();
29   });
30 });