@@ -1251,8 +1251,9 @@ describe('UserManagement', () => {
12511251 describe ( 'getPasswordReset' , ( ) => {
12521252 it ( 'sends a Get PaswordReset request' , async ( ) => {
12531253 fetchOnce ( passwordResetFixture ) ;
1254- const passwordReset =
1255- await workos . userManagement . getPasswordReset ( passwordResetId ) ;
1254+ const passwordReset = await workos . userManagement . getPasswordReset (
1255+ passwordResetId ,
1256+ ) ;
12561257 expect ( fetchURL ( ) ) . toContain (
12571258 `/user_management/password_reset/${ passwordResetId } ` ,
12581259 ) ;
@@ -1871,8 +1872,9 @@ describe('UserManagement', () => {
18711872 describe ( 'getInvitation' , ( ) => {
18721873 it ( 'sends a Get Invitation request' , async ( ) => {
18731874 fetchOnce ( invitationFixture ) ;
1874- const invitation =
1875- await workos . userManagement . getInvitation ( invitationId ) ;
1875+ const invitation = await workos . userManagement . getInvitation (
1876+ invitationId ,
1877+ ) ;
18761878 expect ( fetchURL ( ) ) . toContain (
18771879 `/user_management/invitations/${ invitationId } ` ,
18781880 ) ;
@@ -1886,8 +1888,9 @@ describe('UserManagement', () => {
18861888 describe ( 'findInvitationByToken' , ( ) => {
18871889 it ( 'sends a find invitation by token request' , async ( ) => {
18881890 fetchOnce ( invitationFixture ) ;
1889- const invitation =
1890- await workos . userManagement . findInvitationByToken ( invitationToken ) ;
1891+ const invitation = await workos . userManagement . findInvitationByToken (
1892+ invitationToken ,
1893+ ) ;
18911894 expect ( fetchURL ( ) ) . toContain (
18921895 `/user_management/invitations/by_token/${ invitationToken } ` ,
18931896 ) ;
@@ -1986,8 +1989,9 @@ describe('UserManagement', () => {
19861989 accepted_user_id : 'user_01HGK4K4PXNSG85RNNV0GXYP5W' ,
19871990 } ) ;
19881991
1989- const response =
1990- await workos . userManagement . acceptInvitation ( invitationId ) ;
1992+ const response = await workos . userManagement . acceptInvitation (
1993+ invitationId ,
1994+ ) ;
19911995
19921996 expect ( fetchURL ( ) ) . toContain (
19931997 `/user_management/invitations/${ invitationId } /accept` ,
@@ -2006,8 +2010,9 @@ describe('UserManagement', () => {
20062010 const invitationId = 'invitation_01H5JQDV7R7ATEYZDEG0W5PRYS' ;
20072011 fetchOnce ( invitationFixture ) ;
20082012
2009- const response =
2010- await workos . userManagement . revokeInvitation ( invitationId ) ;
2013+ const response = await workos . userManagement . revokeInvitation (
2014+ invitationId ,
2015+ ) ;
20112016
20122017 expect ( fetchURL ( ) ) . toContain (
20132018 `/user_management/invitations/${ invitationId } /revoke` ,
0 commit comments