fix: compare account uuids #2752
ci.yml
on: pull_request
Annotations
2 errors
|
Tests / Run Tests
Process completed with exit code 1.
|
|
[happy-dom [preload, renderer]] src/renderer/utils/auth/utils.test.ts > renderer/utils/auth/utils.ts > performGitHubDeviceOAuth > should authenticate using device flow for GitHub app:
src/renderer/utils/auth/utils.test.ts#L97
AssertionError: expected "vi.fn()" to be called with arguments: [ { clientType: 'oauth-app', …(3) } ]
Received:
1st vi.fn() call:
@@ -1,10 +1,10 @@
[
{
- "clientId": "FAKE_CLIENT_ID_123",
+ "clientId": "mock-oauth-client-id",
"clientType": "oauth-app",
- "request": Any<Function>,
+ "request": [Function newApi],
"scopes": [
"read:user",
"notifications",
"repo",
],
Number of calls: 1
❯ src/renderer/utils/auth/utils.test.ts:97:36
|