implement injectIdentityAuth
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@ describe('TechDocsStorageClient', () => {
|
||||
const identityApi: jest.Mocked<IdentityApi> = {
|
||||
getCredentials: jest.fn(),
|
||||
} as unknown as jest.Mocked<IdentityApi>;
|
||||
const fetchApi = new MockFetchApi({ authorization: { identityApi } });
|
||||
const fetchApi = new MockFetchApi({ injectIdentityAuth: { identityApi } });
|
||||
|
||||
beforeEach(() => {
|
||||
jest.resetAllMocks();
|
||||
|
||||
Reference in New Issue
Block a user