@@ -1248,9 +1248,8 @@ describe('UserManagement', () => {
12481248 describe ( 'getPasswordReset' , ( ) => {
12491249 it ( 'sends a Get PaswordReset request' , async ( ) => {
12501250 fetchOnce ( passwordResetFixture ) ;
1251- const passwordReset = await workos . userManagement . getPasswordReset (
1252- passwordResetId ,
1253- ) ;
1251+ const passwordReset =
1252+ await workos . userManagement . getPasswordReset ( passwordResetId ) ;
12541253 expect ( fetchURL ( ) ) . toContain (
12551254 `/user_management/password_reset/${ passwordResetId } ` ,
12561255 ) ;
@@ -1738,9 +1737,8 @@ describe('UserManagement', () => {
17381737 describe ( 'getInvitation' , ( ) => {
17391738 it ( 'sends a Get Invitation request' , async ( ) => {
17401739 fetchOnce ( invitationFixture ) ;
1741- const invitation = await workos . userManagement . getInvitation (
1742- invitationId ,
1743- ) ;
1740+ const invitation =
1741+ await workos . userManagement . getInvitation ( invitationId ) ;
17441742 expect ( fetchURL ( ) ) . toContain (
17451743 `/user_management/invitations/${ invitationId } ` ,
17461744 ) ;
@@ -1754,9 +1752,8 @@ describe('UserManagement', () => {
17541752 describe ( 'findInvitationByToken' , ( ) => {
17551753 it ( 'sends a find invitation by token request' , async ( ) => {
17561754 fetchOnce ( invitationFixture ) ;
1757- const invitation = await workos . userManagement . findInvitationByToken (
1758- invitationToken ,
1759- ) ;
1755+ const invitation =
1756+ await workos . userManagement . findInvitationByToken ( invitationToken ) ;
17601757 expect ( fetchURL ( ) ) . toContain (
17611758 `/user_management/invitations/by_token/${ invitationToken } ` ,
17621759 ) ;
@@ -1855,9 +1852,8 @@ describe('UserManagement', () => {
18551852 accepted_user_id : 'user_01HGK4K4PXNSG85RNNV0GXYP5W' ,
18561853 } ) ;
18571854
1858- const response = await workos . userManagement . acceptInvitation (
1859- invitationId ,
1860- ) ;
1855+ const response =
1856+ await workos . userManagement . acceptInvitation ( invitationId ) ;
18611857
18621858 expect ( fetchURL ( ) ) . toContain (
18631859 `/user_management/invitations/${ invitationId } /accept` ,
@@ -1876,9 +1872,8 @@ describe('UserManagement', () => {
18761872 const invitationId = 'invitation_01H5JQDV7R7ATEYZDEG0W5PRYS' ;
18771873 fetchOnce ( invitationFixture ) ;
18781874
1879- const response = await workos . userManagement . revokeInvitation (
1880- invitationId ,
1881- ) ;
1875+ const response =
1876+ await workos . userManagement . revokeInvitation ( invitationId ) ;
18821877
18831878 expect ( fetchURL ( ) ) . toContain (
18841879 `/user_management/invitations/${ invitationId } /revoke` ,
0 commit comments