Skip to content

Commit

Permalink
Fixed a couple of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thehenrytsai committed Oct 9, 2024
1 parent 21ea68c commit 9c7d1f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/agent/tests/dwn-api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ describe('AgentDwnApi', () => {
const readReply = readResponse.reply;
expect(readReply).to.have.property('status');
expect(readReply.status.code).to.equal(200);
expect(readReply).to.have.property('record');
expect(readReply).to.have.property('entry');
expect(readReply.entry).to.have.property('data');
expect(readReply.entry!.recordsWrite).to.have.property('descriptor');
expect(readReply.entry!.recordsWrite).to.have.property('recordId', writeMessage.recordId);
Expand Down Expand Up @@ -1529,7 +1529,7 @@ describe('AgentDwnApi', () => {
const readReply = readResponse.reply;
expect(readReply).to.have.property('status');
expect(readReply.status.code).to.equal(200);
expect(readReply).to.have.property('record');
expect(readReply).to.have.property('entry');
expect(readReply.entry).to.have.property('data');
expect(readReply.entry?.recordsWrite).to.have.property('descriptor');
expect(readReply.entry?.recordsWrite).to.have.property('recordId', writeMessage.recordId);
Expand Down

0 comments on commit 9c7d1f4

Please sign in to comment.