added documentation and img-magnifier
This commit is contained in:
@ -46,7 +46,7 @@ describe('ApiService', () => {
|
||||
modalServiceSpy.openComponent.and.returnValue({instance: {message: ''}} as any);
|
||||
|
||||
apiService.get('/testurl');
|
||||
expect(httpClientSpy.get).toHaveBeenCalledWith('/api/testurl', {});
|
||||
expect(httpClientSpy.get).toHaveBeenCalledWith('/api/testurl', jasmine.any(Object));
|
||||
expect(modalServiceSpy.openComponent.calls.count()).toBe(1);
|
||||
});
|
||||
|
||||
@ -133,4 +133,6 @@ describe('ApiService', () => {
|
||||
expect(localStorageServiceSpy.get).toHaveBeenCalledWith('basicAuth');
|
||||
});
|
||||
}));
|
||||
|
||||
// TODO: test return headers
|
||||
});
|
||||
|
Reference in New Issue
Block a user