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.

test: add integration coverage for labels, tasks, and openapi

Tin9731d20cbb51
diff --git a/tests/api-integration/openapi.test.ts b/tests/api-integration/openapi.test.ts
index 479c5560e..5896fd30f 100644
--- a/tests/api-integration/openapi.test.ts
+++ b/tests/api-integration/openapi.test.ts
@@ -21,7 +21,9 @@ describe("API integration: openapi", () => {
expect(payload.info?.title).toBe("Kaneo API");
expect(payload.paths?.["/config"]).toBeTruthy();
expect(
- Object.keys(payload.paths || {}).some((path) => path.startsWith("/auth/")),
+ Object.keys(payload.paths || {}).some((path) =>
+ path.startsWith("/auth/"),
+ ),
).toBe(true);
expect(payload.components?.securitySchemes).toMatchObject({
bearerAuth: expect.any(Object),