< Summary

Information
Class: Syki.Front.Features.Cross.ViewNotifications.ViewNotificationsClient
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Features/Cross/ViewNotifications/ViewNotificationsClient.cs
Tag: 22_11348620282
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 9
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
View()100%11100%

File(s)

/home/runner/work/syki/syki/Front/Features/Cross/ViewNotifications/ViewNotificationsClient.cs

#LineLine coverage
 1namespace Syki.Front.Features.Cross.ViewNotifications;
 2
 13public class ViewNotificationsClient(HttpClient http) : ICrossClient
 4{
 5    public async Task View()
 6    {
 17        await http.PutAsJsonAsync("/notifications/user", new {});
 18    }
 9}