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

safe-global / safe-client-gateway / 15437006691
89%

Build:
DEFAULT BRANCH: main
Ran 04 Jun 2025 08:12AM UTC
Jobs 1
Files 871
Run time 7min
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: 90.195% (+0.007%) from 90.188%
15437006691

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

3348 of 4051 branches covered (82.65%)

Branch coverage included in aggregate %.

9 of 11 new or added lines in 3 files covered. (81.82%)

11619 of 12543 relevant lines covered (92.63%)

552.16 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.55
-3.45% src/routes/spaces/members.controller.ts
1
94.44
-5.56% src/routes/spaces/members.service.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:cov - 15437006691.1 04 Jun 2025 08:12AM UTC 1741
91.2
GitHub Action Run
Source Files on build 15437006691
  • Tree
  • List 871
  • Changed 237
  • Source Changed 4
  • Coverage Changed 236
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15437006691
  • 41aa2983 on github
  • Prev Build on main (#15409596375)
  • Next Build on main (#15470614920)
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

© 2025 Coveralls, Inc