diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.spec.ts')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.spec.ts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.spec.ts new file mode 100644 index 000000000..cb98cadd7 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.spec.ts @@ -0,0 +1,27 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; +import { FormsModule } from '@angular/forms'; + +import { RefreshIntervalService } from '~/app/shared/services/refresh-interval.service'; +import { configureTestBed } from '~/testing/unit-test-helper'; +import { RefreshSelectorComponent } from './refresh-selector.component'; + +describe('RefreshSelectorComponent', () => { + let component: RefreshSelectorComponent; + let fixture: ComponentFixture<RefreshSelectorComponent>; + + configureTestBed({ + imports: [FormsModule], + declarations: [RefreshSelectorComponent], + providers: [RefreshIntervalService] + }); + + beforeEach(() => { + fixture = TestBed.createComponent(RefreshSelectorComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); |