Test doesnt need to be async

This commit is contained in:
shamoon
2024-01-01 08:23:51 -08:00
committed by Moritz Pflanzer
parent f9ae0de390
commit 1066c1bde1

View File

@@ -267,7 +267,7 @@ describe('ProfileEditDialogComponent', () => {
expect(getProvidersSpy).toHaveBeenCalled()
})
it('should remove disconnected social account from component, show error if needed', async () => {
it('should remove disconnected social account from component, show error if needed', () => {
const disconnectSpy = jest.spyOn(profileService, 'disconnectSocialAccount')
const getSpy = jest.spyOn(profileService, 'get')
getSpy.mockImplementation(() => of(profile))