]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/src/app/shared/api/api-client.spec.ts
import ceph 16.2.7
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / api / api-client.spec.ts
CommitLineData
a4b75251
TL
1import { ApiClient } from '~/app/shared/api/api-client';
2
3class MockApiClient extends ApiClient {}
4
5describe('ApiClient', () => {
6 const service = new MockApiClient();
7
8 it('should get the version header value', () => {
9 expect(service.getVersionHeaderValue(1, 2)).toBe('application/vnd.ceph.api.v1.2+json');
10 });
11});