Skip to content

Commit 7a33ff4

Browse files
committed
address comments
1 parent 306601b commit 7a33ff4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/integration/data-connect.spec.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)