diff options
Diffstat (limited to '')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/api/cephfs-snapshot-schedule.service.spec.ts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/api/cephfs-snapshot-schedule.service.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/api/cephfs-snapshot-schedule.service.spec.ts new file mode 100644 index 000000000..766b8f385 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/api/cephfs-snapshot-schedule.service.spec.ts @@ -0,0 +1,22 @@ +import { TestBed } from '@angular/core/testing'; +import { HttpClientTestingModule } from '@angular/common/http/testing'; + +import { configureTestBed } from '~/testing/unit-test-helper'; +import { CephfsSnapshotScheduleService } from './cephfs-snapshot-schedule.service'; + +describe('CephfsSnapshotScheduleService', () => { + let service: CephfsSnapshotScheduleService; + + configureTestBed({ + providers: [CephfsSnapshotScheduleService], + imports: [HttpClientTestingModule] + }); + + beforeEach(() => { + service = TestBed.inject(CephfsSnapshotScheduleService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); |