@@ -1251,9 +1251,8 @@ describe('UserManagement', () => {
12511251 describe ( 'getPasswordReset' , ( ) => {
12521252 it ( 'sends a Get PaswordReset request' , async ( ) => {
12531253 fetchOnce ( passwordResetFixture ) ;
1254- const passwordReset = await workos . userManagement . getPasswordReset (
1255- passwordResetId ,
1256- ) ;
1254+ const passwordReset =
1255+ await workos . userManagement . getPasswordReset ( passwordResetId ) ;
12571256 expect ( fetchURL ( ) ) . toContain (
12581257 `/user_management/password_reset/${ passwordResetId } ` ,
12591258 ) ;
@@ -1872,9 +1871,8 @@ describe('UserManagement', () => {
18721871 describe ( 'getInvitation' , ( ) => {
18731872 it ( 'sends a Get Invitation request' , async ( ) => {
18741873 fetchOnce ( invitationFixture ) ;
1875- const invitation = await workos . userManagement . getInvitation (
1876- invitationId ,
1877- ) ;
1874+ const invitation =
1875+ await workos . userManagement . getInvitation ( invitationId ) ;
18781876 expect ( fetchURL ( ) ) . toContain (
18791877 `/user_management/invitations/${ invitationId } ` ,
18801878 ) ;
@@ -1888,9 +1886,8 @@ describe('UserManagement', () => {
18881886 describe ( 'findInvitationByToken' , ( ) => {
18891887 it ( 'sends a find invitation by token request' , async ( ) => {
18901888 fetchOnce ( invitationFixture ) ;
1891- const invitation = await workos . userManagement . findInvitationByToken (
1892- invitationToken ,
1893- ) ;
1889+ const invitation =
1890+ await workos . userManagement . findInvitationByToken ( invitationToken ) ;
18941891 expect ( fetchURL ( ) ) . toContain (
18951892 `/user_management/invitations/by_token/${ invitationToken } ` ,
18961893 ) ;
@@ -1989,9 +1986,8 @@ describe('UserManagement', () => {
19891986 accepted_user_id : 'user_01HGK4K4PXNSG85RNNV0GXYP5W' ,
19901987 } ) ;
19911988
1992- const response = await workos . userManagement . acceptInvitation (
1993- invitationId ,
1994- ) ;
1989+ const response =
1990+ await workos . userManagement . acceptInvitation ( invitationId ) ;
19951991
19961992 expect ( fetchURL ( ) ) . toContain (
19971993 `/user_management/invitations/${ invitationId } /accept` ,
@@ -2010,9 +2006,8 @@ describe('UserManagement', () => {
20102006 const invitationId = 'invitation_01H5JQDV7R7ATEYZDEG0W5PRYS' ;
20112007 fetchOnce ( invitationFixture ) ;
20122008
2013- const response = await workos . userManagement . revokeInvitation (
2014- invitationId ,
2015- ) ;
2009+ const response =
2010+ await workos . userManagement . revokeInvitation ( invitationId ) ;
20162011
20172012 expect ( fetchURL ( ) ) . toContain (
20182013 `/user_management/invitations/${ invitationId } /revoke` ,
0 commit comments