diff options
Diffstat (limited to '')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.spec.ts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.spec.ts new file mode 100644 index 000000000..45e6a06b6 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.spec.ts @@ -0,0 +1,27 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'; + +import { PipesModule } from '~/app/shared/pipes/pipes.module'; +import { configureTestBed } from '~/testing/unit-test-helper'; +import { UsageBarComponent } from './usage-bar.component'; + +describe('UsageBarComponent', () => { + let component: UsageBarComponent; + let fixture: ComponentFixture<UsageBarComponent>; + + configureTestBed({ + imports: [PipesModule, NgbTooltipModule], + declarations: [UsageBarComponent] + }); + + beforeEach(() => { + fixture = TestBed.createComponent(UsageBarComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); |