Skip to content

ci: add Github Actions test pipeline #7

ci: add Github Actions test pipeline

ci: add Github Actions test pipeline #7

Triggered via push January 10, 2026 12:45
Status Failure
Total duration 42s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors
test
Process completed with exit code 1.
src/modules/post/post.test.ts > Post API > lists public posts: tests/helpers/auth.ts#L21
Error: Signup failed: 500 {"success":false,"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something went wrong"}} ❯ createUserAndLogin tests/helpers/auth.ts:21:11 ❯ src/modules/post/post.test.ts:63:19
src/modules/post/post.test.ts > Post API > allows ADMIN to create a post: src/modules/post/post.test.ts#L50
AssertionError: expected 500 to be 201 // Object.is equality - Expected + Received - 201 + 500 ❯ src/modules/post/post.test.ts:50:24
src/modules/post/post.test.ts > Post API > allows AUTHOR to create a post: tests/helpers/auth.ts#L39
TypeError: Cannot read properties of undefined (reading 'accessToken') ❯ createUserAndLogin tests/helpers/auth.ts:39:29 ❯ src/modules/post/post.test.ts:10:19
src/modules/comment/comment.test.ts > Comment API > creates a comment on a post: tests/helpers/auth.ts#L21
Error: Signup failed: 500 {"success":false,"error":{"code":"INTERNAL_SERVER_ERROR","message":"Something went wrong"}} ❯ createUserAndLogin tests/helpers/auth.ts:21:11 ❯ src/modules/comment/comment.test.ts:10:19
src/modules/auth/auth.test.ts > Auth API > logs in existing user: src/modules/auth/auth.test.ts#L51
AssertionError: expected 500 to be 200 // Object.is equality - Expected + Received - 200 + 500 ❯ src/modules/auth/auth.test.ts:51:24