Feature Added: An option for users to leave the Organization (Fixes PalisadoesFoundation/talawa-admin#1873) #4740
pull-request.yml
on: pull_request
Check for linting, formatting, and type errors
1m 35s
Checks if sensitive files have been changed without authorization
4s
Checks if number of files changed is acceptable
3s
Base branch check
0s
Matrix: Testing Application
JSDocs comments and pipeline
0s
Annotations
3 errors and 11 warnings
tests/resolvers/Mutation/removeMember.spec.ts > resolvers -> Mutation -> removeMember > should throw admin cannot remove self error when user with _id === args.data.userId === context.userId:
tests/resolvers/Mutation/removeMember.spec.ts#L231
AssertionError: expected "translate" to be called with arguments: [ Array(1) ]
Received:
1st translate call:
Array [
- "Error: Current user cannot remove self, instead you can use leave Org function",
+ "Error: Current admin cannot remove another admin",
]
Number of calls: 1
❯ tests/resolvers/Mutation/removeMember.spec.ts:231:19
|
tests/resolvers/Query/getVolunteerRanks.spec.ts > resolvers -> Query -> getVolunteerRanks > getVolunteerRanks for weekly, descending, limit, no name:
tests/resolvers/Query/getVolunteerRanks.spec.ts#L61
AssertionError: expected +0 to deeply equal 2
- Expected
+ Received
- 2
+ 0
❯ tests/resolvers/Query/getVolunteerRanks.spec.ts:61:48
|
Testing Application (22.x)
Process completed with exit code 1.
|
Base branch check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Checks if number of files changed is acceptable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Checks if number of files changed is acceptable
Unexpected input(s) 'persist-crendetials', valid inputs are ['repository', 'ref', 'token', 'ssh-key', 'ssh-known-hosts', 'ssh-strict', 'ssh-user', 'persist-credentials', 'path', 'clean', 'filter', 'sparse-checkout', 'sparse-checkout-cone-mode', 'fetch-depth', 'fetch-tags', 'show-progress', 'lfs', 'submodules', 'set-safe-directory', 'github-server-url']
|
Checks if number of files changed is acceptable
Unexpected input(s) 'persist-crendetials', valid inputs are ['repository', 'ref', 'token', 'ssh-key', 'ssh-known-hosts', 'ssh-strict', 'ssh-user', 'persist-credentials', 'path', 'clean', 'filter', 'sparse-checkout', 'sparse-checkout-cone-mode', 'fetch-depth', 'fetch-tags', 'show-progress', 'lfs', 'submodules', 'set-safe-directory', 'github-server-url']
|
Checks if sensitive files have been changed without authorization
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Checks if sensitive files have been changed without authorization
Unexpected input(s) 'persist-crendetials', valid inputs are ['repository', 'ref', 'token', 'ssh-key', 'ssh-known-hosts', 'ssh-strict', 'ssh-user', 'persist-credentials', 'path', 'clean', 'filter', 'sparse-checkout', 'sparse-checkout-cone-mode', 'fetch-depth', 'fetch-tags', 'show-progress', 'lfs', 'submodules', 'set-safe-directory', 'github-server-url']
|
Checks if sensitive files have been changed without authorization
Unexpected input(s) 'persist-crendetials', valid inputs are ['repository', 'ref', 'token', 'ssh-key', 'ssh-known-hosts', 'ssh-strict', 'ssh-user', 'persist-credentials', 'path', 'clean', 'filter', 'sparse-checkout', 'sparse-checkout-cone-mode', 'fetch-depth', 'fetch-tags', 'show-progress', 'lfs', 'submodules', 'set-safe-directory', 'github-server-url']
|
Check for linting, formatting, and type errors
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check for linting, formatting, and type errors
Unexpected input(s) 'persist-crendetials', valid inputs are ['repository', 'ref', 'token', 'ssh-key', 'ssh-known-hosts', 'ssh-strict', 'ssh-user', 'persist-credentials', 'path', 'clean', 'filter', 'sparse-checkout', 'sparse-checkout-cone-mode', 'fetch-depth', 'fetch-tags', 'show-progress', 'lfs', 'submodules', 'set-safe-directory', 'github-server-url']
|
Check for linting, formatting, and type errors
Unexpected input(s) 'persist-crendetials', valid inputs are ['repository', 'ref', 'token', 'ssh-key', 'ssh-known-hosts', 'ssh-strict', 'ssh-user', 'persist-credentials', 'path', 'clean', 'filter', 'sparse-checkout', 'sparse-checkout-cone-mode', 'fetch-depth', 'fetch-tags', 'show-progress', 'lfs', 'submodules', 'set-safe-directory', 'github-server-url']
|
Testing Application (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|