@@ -1205,9 +1205,8 @@ describe('UserManagement', () => {
12051205 describe ( 'getPasswordReset' , ( ) => {
12061206 it ( 'sends a Get PaswordReset request' , async ( ) => {
12071207 fetchOnce ( passwordResetFixture ) ;
1208- const passwordReset = await workos . userManagement . getPasswordReset (
1209- passwordResetId ,
1210- ) ;
1208+ const passwordReset =
1209+ await workos . userManagement . getPasswordReset ( passwordResetId ) ;
12111210 expect ( fetchURL ( ) ) . toContain (
12121211 `/user_management/password_reset/${ passwordResetId } ` ,
12131212 ) ;
@@ -1695,9 +1694,8 @@ describe('UserManagement', () => {
16951694 describe ( 'getInvitation' , ( ) => {
16961695 it ( 'sends a Get Invitation request' , async ( ) => {
16971696 fetchOnce ( invitationFixture ) ;
1698- const invitation = await workos . userManagement . getInvitation (
1699- invitationId ,
1700- ) ;
1697+ const invitation =
1698+ await workos . userManagement . getInvitation ( invitationId ) ;
17011699 expect ( fetchURL ( ) ) . toContain (
17021700 `/user_management/invitations/${ invitationId } ` ,
17031701 ) ;
@@ -1711,9 +1709,8 @@ describe('UserManagement', () => {
17111709 describe ( 'findInvitationByToken' , ( ) => {
17121710 it ( 'sends a find invitation by token request' , async ( ) => {
17131711 fetchOnce ( invitationFixture ) ;
1714- const invitation = await workos . userManagement . findInvitationByToken (
1715- invitationToken ,
1716- ) ;
1712+ const invitation =
1713+ await workos . userManagement . findInvitationByToken ( invitationToken ) ;
17171714 expect ( fetchURL ( ) ) . toContain (
17181715 `/user_management/invitations/by_token/${ invitationToken } ` ,
17191716 ) ;
@@ -1812,9 +1809,8 @@ describe('UserManagement', () => {
18121809 accepted_user_id : 'user_01HGK4K4PXNSG85RNNV0GXYP5W' ,
18131810 } ) ;
18141811
1815- const response = await workos . userManagement . acceptInvitation (
1816- invitationId ,
1817- ) ;
1812+ const response =
1813+ await workos . userManagement . acceptInvitation ( invitationId ) ;
18181814
18191815 expect ( fetchURL ( ) ) . toContain (
18201816 `/user_management/invitations/${ invitationId } /accept` ,
@@ -1833,9 +1829,8 @@ describe('UserManagement', () => {
18331829 const invitationId = 'invitation_01H5JQDV7R7ATEYZDEG0W5PRYS' ;
18341830 fetchOnce ( invitationFixture ) ;
18351831
1836- const response = await workos . userManagement . revokeInvitation (
1837- invitationId ,
1838- ) ;
1832+ const response =
1833+ await workos . userManagement . revokeInvitation ( invitationId ) ;
18391834
18401835 expect ( fetchURL ( ) ) . toContain (
18411836 `/user_management/invitations/${ invitationId } /revoke` ,
0 commit comments