Feature Added: An option for users to leave the Organization (Fixes PalisadoesFoundation/talawa-admin#1873) #4660
Annotations
3 errors and 1 warning
Run the tests:
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
|
Run the tests:
tests/resolvers/Query/getVolunteerRanks.spec.ts#L61
AssertionError: expected 2 to deeply equal +0
- Expected
+ Received
- 0
+ 2
❯ tests/resolvers/Query/getVolunteerRanks.spec.ts:61:48
|
Run the tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading