File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -315,8 +315,7 @@ describe('getDataConnect()', () => {
315315 it ( 'executeGraphql() successfully executes an impersonated mutation with authenticated claims' ,
316316 async ( ) => {
317317 const resp = await getDataConnect ( connectorConfig ) . executeGraphql < UserUpdateResponse , undefined > (
318- updateFredrickUserImpersonated ,
319- { ...optsAuthorizedFredClaims } ) ;
318+ updateFredrickUserImpersonated , optsAuthorizedFredClaims ) ;
320319 // Fred -> Fredrick
321320 expect ( resp . data . user_update . id ) . equals ( fredUser . id ) ;
322321 } ) ;
@@ -328,9 +327,8 @@ describe('getDataConnect()', () => {
328327
329328 it ( 'executeGraphql() should return null for an impersonated mutation with non-existing authenticated claims' ,
330329 async ( ) => {
331- console . log ( 'test' )
332330 const resp = await getDataConnect ( connectorConfig ) . executeGraphql < UserUpdateResponse , undefined > (
333- updateFredrickUserImpersonated , { ... optsNonExistingClaims } ) ;
331+ updateFredrickUserImpersonated , optsNonExistingClaims ) ;
334332 // Should mutate no data
335333 expect ( resp . data . user_update ) . to . be . null ;
336334 } ) ;
You can’t perform that action at this time.
0 commit comments