]>
Commit | Line | Data |
---|---|---|
a4b75251 TL |
1 | import { ApiClient } from '~/app/shared/api/api-client'; |
2 | ||
3 | class MockApiClient extends ApiClient {} | |
4 | ||
5 | describe('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 | }); |