Use BackstageUserIdentity, fix tests

Co-authored-by: blam <ben@blam.sh>
Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-11-30 13:14:48 +01:00
committed by blam
parent 32b0443660
commit e9471d274c
20 changed files with 107 additions and 67 deletions
+3
View File
@@ -34,6 +34,9 @@ describe('apis', () => {
getUserId: jest.fn(),
getProfile: jest.fn(),
signOut: jest.fn(),
getProfileInfo: jest.fn(),
getBackstageIdentity: jest.fn(),
getCredentials: jest.fn(),
});
const client = new SearchClient({