]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/app.component.spec.ts
import 14.2.4 nautilus point release
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / app.component.spec.ts
CommitLineData
11fdf7f2
TL
1import { NO_ERRORS_SCHEMA } from '@angular/core';
2import { ComponentFixture, TestBed } from '@angular/core/testing';
3import { RouterTestingModule } from '@angular/router/testing';
4
11fdf7f2
TL
5import { configureTestBed } from '../testing/unit-test-helper';
6import { AppComponent } from './app.component';
7import { AuthStorageService } from './shared/services/auth-storage.service';
8
9describe('AppComponent', () => {
10 let component: AppComponent;
11 let fixture: ComponentFixture<AppComponent>;
12
13 configureTestBed({
494da23a 14 imports: [RouterTestingModule],
11fdf7f2
TL
15 declarations: [AppComponent],
16 schemas: [NO_ERRORS_SCHEMA],
17 providers: [AuthStorageService]
18 });
19
20 beforeEach(() => {
21 fixture = TestBed.createComponent(AppComponent);
22 component = fixture.componentInstance;
23 fixture.detectChanges();
24 });
25
26 it('should create', () => {
27 expect(component).toBeTruthy();
28 });
29});