File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
frontend/src/__tests__/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ describe('amplify-utils', () => {
2727 jest . resetAllMocks ( ) ;
2828 } ) ;
2929
30- test ( 'getSessionServer - should return the auth token, clientID and userSub ' , async ( ) => {
30+ test ( 'getSessionServer - should return the auth token and clientID ' , async ( ) => {
3131 const mockAccessToken = {
3232 toString : ( ) =>
3333 sign (
@@ -73,7 +73,7 @@ describe('amplify-utils', () => {
7373
7474 const result = await getSessionServer ( ) ;
7575
76- expect ( result ) . toEqual ( { accessToken : undefined , userSub : undefined } ) ;
76+ expect ( result ) . toEqual ( { accessToken : undefined } ) ;
7777 } ) ;
7878
7979 test ( 'getSessionServer - should return undefined properties if an error occurs' , async ( ) => {
@@ -83,7 +83,7 @@ describe('amplify-utils', () => {
8383
8484 const result = await getSessionServer ( ) ;
8585
86- expect ( result ) . toEqual ( { accessToken : undefined , userSub : undefined } ) ;
86+ expect ( result ) . toEqual ( { accessToken : undefined } ) ;
8787 } ) ;
8888
8989 describe ( 'getSessionId' , ( ) => {
You can’t perform that action at this time.
0 commit comments