1 import { ComponentFixture, TestBed } from '@angular/core/testing';
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 import { ToastrModule } from 'ngx-toastr';
11 describe('UpgradeComponent', () => {
12 let component: UpgradeComponent;
13 let fixture: ComponentFixture<UpgradeComponent>;
16 imports: [HttpClientTestingModule, SharedModule, ToastrModule.forRoot()],
17 schemas: [NO_ERRORS_SCHEMA],
18 declarations: [UpgradeComponent],
19 providers: [UpgradeService]
23 fixture = TestBed.createComponent(UpgradeComponent);
24 component = fixture.componentInstance;
25 fixture.detectChanges();
28 it('should create', () => {
29 expect(component).toBeTruthy();