@@ -113,7 +113,8 @@ describe('Parse User', () => {
113113
114114  it ( 'can login users with installationId' ,  async  ( )  =>  { 
115115    Parse . User . enableUnsafeCurrentUser ( ) ; 
116-     const  currentInstallationId  =  await  Parse . CoreManager . getInstallationController ( ) . currentInstallationId ( ) ; 
116+     const  currentInstallationId  = 
117+       await  Parse . CoreManager . getInstallationController ( ) . currentInstallationId ( ) ; 
117118    const  installationId  =  '12345678' ; 
118119    const  user  =  new  Parse . User ( ) ; 
119120    user . set ( 'username' ,  'parse' ) ; 
@@ -149,7 +150,8 @@ describe('Parse User', () => {
149150  } ) ; 
150151
151152  it ( 'can get current installation' ,  async  ( )  =>  { 
152-     const  currentInstallationId  =  await  Parse . CoreManager . getInstallationController ( ) . currentInstallationId ( ) ; 
153+     const  currentInstallationId  = 
154+       await  Parse . CoreManager . getInstallationController ( ) . currentInstallationId ( ) ; 
153155    const  installation  =  await  Parse . Installation . currentInstallation ( ) ; 
154156    expect ( installation . installationId ) . toBe ( currentInstallationId ) ; 
155157    expect ( installation . deviceType ) . toBe ( Parse . Installation . DEVICE_TYPES . WEB ) ; 
@@ -180,7 +182,8 @@ describe('Parse User', () => {
180182  } ) ; 
181183
182184  it ( 'can save new installation when deleted' ,  async  ( )  =>  { 
183-     const  currentInstallationId  =  await  Parse . CoreManager . getInstallationController ( ) . currentInstallationId ( ) ; 
185+     const  currentInstallationId  = 
186+       await  Parse . CoreManager . getInstallationController ( ) . currentInstallationId ( ) ; 
184187    const  installation  =  await  Parse . Installation . currentInstallation ( ) ; 
185188    expect ( installation . installationId ) . toBe ( currentInstallationId ) ; 
186189    expect ( installation . deviceType ) . toBe ( Parse . Installation . DEVICE_TYPES . WEB ) ; 
@@ -196,7 +199,8 @@ describe('Parse User', () => {
196199  } ) ; 
197200
198201  it ( 'can fetch installation when deleted' ,  async  ( )  =>  { 
199-     const  currentInstallationId  =  await  Parse . CoreManager . getInstallationController ( ) . currentInstallationId ( ) ; 
202+     const  currentInstallationId  = 
203+       await  Parse . CoreManager . getInstallationController ( ) . currentInstallationId ( ) ; 
200204    const  installation  =  await  Parse . Installation . currentInstallation ( ) ; 
201205    expect ( installation . installationId ) . toBe ( currentInstallationId ) ; 
202206    expect ( installation . deviceType ) . toBe ( Parse . Installation . DEVICE_TYPES . WEB ) ; 
@@ -227,9 +231,7 @@ describe('Parse User', () => {
227231
228232    await  Parse . User . logOut ( ) ; 
229233    assert ( ! Parse . User . current ( ) ) ; 
230-     await  expectAsync ( Parse . User . loginAs ( 'garbage' ) ) . toBeRejectedWithError ( 
231-       'user not found' 
232-     ) ; 
234+     await  expectAsync ( Parse . User . loginAs ( 'garbage' ) ) . toBeRejectedWithError ( 'user not found' ) ; 
233235  } ) ; 
234236
235237  it ( 'can become a user' ,  done  =>  { 
@@ -1128,7 +1130,10 @@ describe('Parse User', () => {
11281130      preventLoginWithUnverifiedEmail : true , 
11291131    } ) ; 
11301132    await  Parse . User . signUp ( 'asd123' ,  'xyz123' ) ; 
1131-     const  res  =  await  Parse . User . verifyPassword ( 'asd123' ,  'xyz123' ,  {  useMasterKey : true ,  ignoreEmailVerification : true  } ) ; 
1133+     const  res  =  await  Parse . User . verifyPassword ( 'asd123' ,  'xyz123' ,  { 
1134+       useMasterKey : true , 
1135+       ignoreEmailVerification : true , 
1136+     } ) ; 
11321137    expect ( typeof  res ) . toBe ( 'object' ) ; 
11331138    expect ( res . username ) . toBe ( 'asd123' ) ; 
11341139  } ) ; 
0 commit comments