()
| 63 | } |
| 64 | |
| 65 | const mockLogoutApi = () => { |
| 66 | spyOn(CodebuffApiModule, 'getApiClient').mockReturnValue({ |
| 67 | logout: async () => ({ ok: true, status: 200 }), |
| 68 | } as ReturnType<typeof CodebuffApiModule.getApiClient>) |
| 69 | } |
| 70 | |
| 71 | test('logoutUser removes credentials file and returns true', async () => { |
| 72 | mockConfigPaths() |
no outgoing calls
no test coverage detected