Skip to content

ci: add Github Actions test pipeline #1

ci: add Github Actions test pipeline

ci: add Github Actions test pipeline #1

Triggered via push January 10, 2026 11:56
Status Failure
Total duration 39s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors
test
Process completed with exit code 1.
src/modules/post-like/post-like.test.ts > Post Likes > likes and unlikes a post: tests/helpers/auth.ts#L20
TypeError: Cannot read properties of undefined (reading 'user') ❯ createUserAndLogin tests/helpers/auth.ts:20:38 ❯ src/modules/post-like/post-like.test.ts:8:19
src/modules/post/post.test.ts > Post API > lists public posts: tests/helpers/auth.ts#L20
TypeError: Cannot read properties of undefined (reading 'user') ❯ createUserAndLogin tests/helpers/auth.ts:20:38 ❯ src/modules/post/post.test.ts:63:19
src/modules/post/post.test.ts > Post API > allows ADMIN to create a post: tests/helpers/auth.ts#L20
TypeError: Cannot read properties of undefined (reading 'user') ❯ createUserAndLogin tests/helpers/auth.ts:20:38 ❯ src/modules/post/post.test.ts:39:19
src/modules/post/post.test.ts > Post API > blocks USER from creating a post: tests/helpers/auth.ts#L20
TypeError: Cannot read properties of undefined (reading 'user') ❯ createUserAndLogin tests/helpers/auth.ts:20:38 ❯ src/modules/post/post.test.ts:25:19
src/modules/post/post.test.ts > Post API > allows AUTHOR to create a post: tests/helpers/auth.ts#L20
TypeError: Cannot read properties of undefined (reading 'user') ❯ createUserAndLogin tests/helpers/auth.ts:20:38 ❯ 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#L20
TypeError: Cannot read properties of undefined (reading 'user') ❯ createUserAndLogin tests/helpers/auth.ts:20:38 ❯ 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
src/modules/auth/auth.test.ts > Auth API > signs up a new user: src/modules/auth/auth.test.ts#L15
AssertionError: expected 500 to be 201 // Object.is equality - Expected + Received - 201 + 500 ❯ src/modules/auth/auth.test.ts:15:24