Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix: add debug logging for device authorize CI failure

Glen Ederd84ef47d7774
diff --git a/tests/api-integration/device-authorization.test.ts b/tests/api-integration/device-authorization.test.ts
index f4c7af472..262588327 100644
--- a/tests/api-integration/device-authorization.test.ts
+++ b/tests/api-integration/device-authorization.test.ts
@@ -215,6 +215,10 @@ describe("API integration: device authorization (RFC 8628)", () => {
userCode: devicePayload.user_code,
}),
});
+ if (approveRes.status !== 200) {
+ const body = await approveRes.text();
+ console.error("APPROVE ERROR:", approveRes.status, body);
+ }
expect(approveRes.status).toBe(200);
let accessToken: string | undefined;