Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shadrach-tayo committed Jan 9, 2025
1 parent 6b14995 commit 776b5e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desci-server/test/integration/Attestation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1679,7 +1679,7 @@ describe('Attestations Service', async () => {
.set('authorization', authHeaderVal)
.field('communityId', desciCommunity.id);

apiResponse = res.body.data;
apiResponse = res.body.data.data;
console.log(apiResponse[0]);
console.log(apiResponse[1]);
console.log(apiResponse[2]);
Expand Down Expand Up @@ -2079,7 +2079,7 @@ describe('Attestations Service', async () => {
.get(`/v1/communities/${desciCommunity.id}/radar`)
.set('authorization', authHeaderVal)
.field('communityId', desciCommunity.id);
const radar = res1.body.data as NodeRadar[];
const radar = res1.body.data.data as NodeRadar[];
expect(res1.status).to.equal(200);
expect(radar.length).to.equal(1);
const radarNode = radar[0];
Expand Down

0 comments on commit 776b5e5

Please sign in to comment.