feat: friendships #17
pr.yml
on: pull_request
pr
/
quay-build-push
58s
Annotations
1 error and 1 warning
pr / quay-build-push
Error: buildah exited with code 1
time="2024-04-23T19:14:49Z" level=warning msg="missing \"RUN\" build argument. Try adding \"--build-arg RUN=<VALUE>\" to the command line"
Resolved "node" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull docker.io/library/node:lts...
Getting image source signatures
Copying blob sha256:bf8e0edd59dc94571661e04adbcf309d82aacb5a7263ce0e10e461e51e137f9b
Copying blob sha256:7247ea8d81e671d079d67f3a9909315ef4641b45db90d62a1b18e3430c1937d4
Copying blob sha256:b4580645a8e50b87a19330da289a9b1540022379f2c99d3f0112e3c5c4a8d051
Copying blob sha256:609c73876867487da051ad470002217da69bb052e2538710ade0730d893ff51f
Copying blob sha256:be374d06f38273b62ddd7aa5bc3ce3f9c781fd49a1f5a5dd94a46d2986920d7a
Copying blob sha256:dfc93b8f025cacb2b7fb13be1c7b87ff1cb61e46f01414022a5bded203a17ebd
Copying blob sha256:7247ea8d81e671d079d67f3a9909315ef4641b45db90d62a1b18e3430c1937d4
Copying blob sha256:bf8e0edd59dc94571661e04adbcf309d82aacb5a7263ce0e10e461e51e137f9b
Copying blob sha256:b4580645a8e50b87a19330da289a9b1540022379f2c99d3f0112e3c5c4a8d051
Copying blob sha256:be374d06f38273b62ddd7aa5bc3ce3f9c781fd49a1f5a5dd94a46d2986920d7a
Copying blob sha256:609c73876867487da051ad470002217da69bb052e2538710ade0730d893ff51f
Copying blob sha256:dfc93b8f025cacb2b7fb13be1c7b87ff1cb61e46f01414022a5bded203a17ebd
Copying blob sha256:36d9352ffc81605e2962b594f23b64aba8cc7dc47f569a603131410120af3c88
Copying blob sha256:36d9352ffc81605e2962b594f23b64aba8cc7dc47f569a603131410120af3c88
Copying blob sha256:e95fc6a502bf2b434609578f98cb6ef31da8c3ffc0c087de250c395599f84ed7
Copying blob sha256:e95fc6a502bf2b434609578f98cb6ef31da8c3ffc0c087de250c395599f84ed7
Copying config sha256:95de56e551cdbd26018236afcb7fc17fd36f85ca171d0273ad745debe239522a
Writing manifest to image destination
Storing signatures
debconf: delaying package configuration, since apt-utils is not installed
warning "@dcl/eslint-config > [email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@dcl/eslint-config > [email protected]" has unmet peer dependency "babel-plugin-module-resolver@^3.0.0 || ^4.0.0 || ^5.0.0".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
FAIL test/unit/friendships.spec.ts
isFriendshipActionValid()
✓ it should be valid if from is null and to is REQUEST (3 ms)
✓ it should be valid if from is REQUEST and to is CANCEL (1 ms)
✓ it should be valid if from is REQUEST and to is ACCEPT (1 ms)
✓ it should be valid if from is REQUEST and to is REJECT (1 ms)
✓ it should be valid if from is REQUEST and to is DELETE (1 ms)
✓ it should NOT be valid if "from" is null and "to" is whatever except REQUEST (1 ms)
isUserActionValid()
✓ it should NOT be valid if acting user is the targeted user and is sending a REQUEST (1 ms)
✓ it should be valid if acting user is different to the targeted user and is sending a REQUEST (1 ms)
✓ it should NOT be valid if last acting user is sending either an ACCEPT or REJECT (1 ms)
✓ it should NOT be valid if acting user is sending a CANCEL but didnt send the REQUEST (1 ms)
✓ it should be valid if acting user is sending a CANCEL after sending a REQUEST (1 ms)
getNewFriendshipStatus()
✓ it should be FriendshipStatus.Requested (1 ms)
✓ it should be FriendshipStatus.Friends (1 ms)
✓ it should be FriendshipStatus.NotFriends (2 ms)
validateNewFriendshipAction()
✓ it should be a valid friendship action (2 ms)
✓ it should NOT be a valid friendship action (1 ms)
parseUpsertFriendshipRequest()
✕ it should parse ACCEPT request properly (5 ms)
✕ it should parse CANCEL request properly (2 ms)
✕ it should parse DELETE request properly (1 ms)
✕ it should parse REJECT request properly (1 ms)
✕ it should parse REQUEST request properly (1 ms)
✓ it should return null (1 ms)
parseEmittedUpdateToFriendshipUpdate()
✓ it should parse REQUEST update properly (1 ms)
✓ it should parse CANCEL
|
pr / quay-build-push
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|