Skip to content

Commit

Permalink
chore: fix node e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeswr committed Nov 20, 2023
1 parent 8381a07 commit c7d0abf
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions e2e/node/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -787,20 +787,18 @@ describe(`End-to-end access grant tests for environment [${environment}]`, () =>
expect(denied).toHaveLength(1);
expect(both).toHaveLength(granted.length + denied.length);

expect(denied).toMatchObject([
{
...denyGrant,
credentialSubject: {
...denyGrant.credentialSubject,
providedConsent: {
...(denyGrant.credentialSubject.providedConsent as any),
forPersonalData: (
denyGrant.credentialSubject.providedConsent as any
).forPersonalData,
},
toBeEqual(denied[0], {
...denyGrant,
credentialSubject: {
...denyGrant.credentialSubject,
providedConsent: {
...(denyGrant.credentialSubject.providedConsent as any),
forPersonalData: (
denyGrant.credentialSubject.providedConsent as any
).forPersonalData,
},
},
]);
});
});

it("can filter VCs held by the service based on purpose", async () => {
Expand Down

0 comments on commit c7d0abf

Please sign in to comment.