diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/shared/components/cd-label/cd-label.component.spec.ts')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/components/cd-label/cd-label.component.spec.ts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/cd-label/cd-label.component.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/cd-label/cd-label.component.spec.ts new file mode 100644 index 000000000..e308fec1b --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/cd-label/cd-label.component.spec.ts @@ -0,0 +1,24 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { CdLabelComponent } from './cd-label.component'; +import { ColorClassFromTextPipe } from './color-class-from-text.pipe'; +import { configureTestBed } from '~/testing/unit-test-helper'; + +describe('CdLabelComponent', () => { + let component: CdLabelComponent; + let fixture: ComponentFixture<CdLabelComponent>; + + configureTestBed({ + declarations: [CdLabelComponent, ColorClassFromTextPipe] + }); + + beforeEach(() => { + fixture = TestBed.createComponent(CdLabelComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); |