• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 15437006691 / 1
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 04 Jun 2025 08:12AM UTC
Files 1741
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Jun 2025 08:06AM UTC coverage: 91.197% (+0.008%) from 91.189%
15437006691.1

push

github

web-flow
feat: add endpoint to leave a space (#2600)

* feat: add endpoint to remove own space membership

- Updated the `removeUser` method in the `MembersRepository` to allow optional `userId` parameter.
- Added logic to handle self-removal of users, ensuring that the last admin cannot remove themselves.
- Introduced a new `selfRemove` endpoint in the `MembersController` to facilitate users leaving a space.
- Updated the `MembersService` to support the new self-remove functionality.

* test: extend MembersRepository tests for self removal scenarios

* fix: linter error

* fix: format

* refactor: split removeSelf and removeUser into two separate functions

for better separation of concerns

* fix: update tests

* fix: rename variable

* refactor: rename 'signer' variable to 'signerUser' for clarity

3471 of 4201 branches covered (82.62%)

Branch coverage included in aggregate %.

23235 of 25083 relevant lines covered (92.63%)

276.11 hits per line

Source Files on job run-test:cov - 15437006691.1
  • Tree
  • List 1741
  • Changed 237
  • Source Changed 4
  • Coverage Changed 236
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 15437006691
  • 41aa2983 on github
  • Prev Job for on main (#15409596375.1)
  • Next Job for on main (#15470614920.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc