summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.spec.ts
blob: cb98cadd7a3b4f268c298f26f09dd8cd6352e870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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();
  });
});