ci: add Github Actions test pipeline #8
Annotations
5 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#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-like/post-like.test.ts:8:19
|
|
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
|