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

atlp-rwanda / e-commerce-mavericks-fn / 9591892843

20 Jun 2024 05:04AM UTC coverage: 0.0%. Remained the same
9591892843

push

github

web-flow
Merge pull request #18 from atlp-rwanda/187354197-google-authentication

[finishes #187354197] google authentication and redireciton

0 of 40 branches covered (0.0%)

Branch coverage included in aggregate %.

0 of 514 new or added lines in 21 files covered. (0.0%)

0 of 1548 relevant lines covered (0.0%)

0.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/services/authAPI.ts
1
import { mavericksApi } from '.';
×
2

×
3
const authAPI = mavericksApi.injectEndpoints({
×
4
  endpoints: builder => ({
×
5
    registerUser: builder.mutation({
×
6
      query: userData => ({
×
7
        url: `users/signup`,
×
8
        method: 'POST',
×
9
        body: userData,
×
10
      }),
×
11
    }),
×
12
    loginUser: builder.mutation({
×
13
      query: credentials => ({
×
14
        url: `auth/login`,
×
15
        method: 'POST',
×
16
        body: credentials,
×
17
      }),
×
18
    }),
×
NEW
19
    googleAuthentication: builder.query({
×
NEW
20
      query: () => ({
×
NEW
21
        url: '/auth/google/callback',
×
NEW
22
      }),
×
NEW
23
    }),
×
24
  }),
×
25
});
×
26

×
NEW
27
export const { useRegisterUserMutation, useLoginUserMutation, useGoogleAuthenticationQuery } = authAPI;
×
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