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

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

Build:
DEFAULT BRANCH: main
Ran 22 Nov 2023 09:29AM UTC
Jobs 2
Files 522
Run time 53s
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

22 Nov 2023 09:27AM UTC coverage: 91.219% (+0.8%) from 90.43%
6955329916

push

github

web-flow
Add email registration route (#862)

Routes:

- Adds an email registration route, allowing owners of a Safe to register an email address (which will be tied to that owner).
- Moves related email guards to `src/routes/email/guards`
- The `EmailController` is set to be excluded from the Swagger interface – it can be shown whenever the feature is considered to be stable.

The new route is available under:

```
POST /v1/chains/:chainId/safes/:safeAddress/emails

{
  "emailAddress": <string>,
  "account": <string>,
  "timestamp": <number>,
  "signature": <string>
}
```

Domain:

- Removes the owner check from the domain layer as this is already covered by the `OnlySafeOwnerGuard`.

Data:

- Adds a `TestEmailDatasourceModule` – this module should be used whenever the real database instance doesn't need to be considered in the tests. This module uses a mocked instance of `IEmailDataSource`.

1418 of 1695 branches covered (0.0%)

Branch coverage included in aggregate %.

37 of 38 new or added lines in 7 files covered. (97.37%)

1 existing line in 1 file now uncovered.

5262 of 5628 relevant lines covered (93.5%)

162.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.31
92.31% src/domain/email/email.repository.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
80.0
-10.0% src/routes/transactions/entities/__tests__/human-description.builder.ts
Jobs
ID Job ID Ran Files Coverage
1 run-test:e2e:cov - 6955329916.1 22 Nov 2023 09:29AM UTC 820
56.13
GitHub Action Run
2 run-test:cov - 6955329916.2 22 Nov 2023 09:31AM UTC 1040
91.73
GitHub Action Run
Source Files on build 6955329916
  • Tree
  • List 522
  • Changed 446
  • Source Changed 2
  • Coverage Changed 129
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #6955329916
  • 6a78c74b on github
  • Prev Build on main (#6950233476)
  • Next Build on main (#6955335378)
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