@@ -117,7 +117,7 @@ describe('Login.service', () => {
117117 it ( 'should make expected API calls' , async ( ) => {
118118 await firstValueFrom ( svc . setLoggedOut ( ) ) ;
119119 expect ( mockFromFetch ) . toHaveBeenCalledTimes ( 3 ) ;
120- expect ( mockFromFetch ) . toHaveBeenNthCalledWith ( 2 , `/api/v2.1/auth` , {
120+ expect ( mockFromFetch ) . toHaveBeenNthCalledWith ( 2 , `. /api/v2.1/auth` , {
121121 credentials : 'include' ,
122122 mode : 'cors' ,
123123 method : 'POST' ,
@@ -126,7 +126,7 @@ describe('Login.service', () => {
126126 Authorization : `Basic dXNlcjpkNzRmZjBlZThkYTNiOTgwNmIxOGM4NzdkYmYyOWJiZGU1MGI1YmQ4ZTRkYWQ3YTNhNzI1MDAwZmViODJlOGYx` ,
127127 } ) ,
128128 } ) ;
129- expect ( mockFromFetch ) . toHaveBeenNthCalledWith ( 3 , `/api/v2.1/logout` , {
129+ expect ( mockFromFetch ) . toHaveBeenNthCalledWith ( 3 , `. /api/v2.1/logout` , {
130130 credentials : 'include' ,
131131 mode : 'cors' ,
132132 method : 'POST' ,
@@ -230,7 +230,7 @@ describe('Login.service', () => {
230230 it ( 'should make expected API calls' , async ( ) => {
231231 await firstValueFrom ( svc . setLoggedOut ( ) ) ;
232232 expect ( mockFromFetch ) . toHaveBeenCalledTimes ( 3 ) ;
233- expect ( mockFromFetch ) . toHaveBeenNthCalledWith ( 1 , `/api/v2.1/auth` , {
233+ expect ( mockFromFetch ) . toHaveBeenNthCalledWith ( 1 , `. /api/v2.1/auth` , {
234234 credentials : 'include' ,
235235 mode : 'cors' ,
236236 method : 'POST' ,
@@ -239,7 +239,7 @@ describe('Login.service', () => {
239239 Authorization : `Bearer c2hhMjU2fmhlbGxvd29ybGQ` ,
240240 } ) ,
241241 } ) ;
242- expect ( mockFromFetch ) . toHaveBeenNthCalledWith ( 2 , `/api/v2.1/logout` , {
242+ expect ( mockFromFetch ) . toHaveBeenNthCalledWith ( 2 , `. /api/v2.1/logout` , {
243243 credentials : 'include' ,
244244 mode : 'cors' ,
245245 method : 'POST' ,
@@ -248,7 +248,7 @@ describe('Login.service', () => {
248248 Authorization : `Bearer c2hhMjU2fmhlbGxvd29ybGQ` ,
249249 } ) ,
250250 } ) ;
251- expect ( mockFromFetch ) . toHaveBeenNthCalledWith ( 3 , `/api/v2.1/auth` , {
251+ expect ( mockFromFetch ) . toHaveBeenNthCalledWith ( 3 , `. /api/v2.1/auth` , {
252252 credentials : 'include' ,
253253 mode : 'cors' ,
254254 method : 'POST' ,
0 commit comments