Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 4ce6ee3

Browse files
committed
chore: fix test - res.result gets turned into a string by shot
1 parent 0ef1271 commit 4ce6ee3

File tree

1 file changed

+2
-2
lines changed
  • packages/ipfs-http-server/test/inject

1 file changed

+2
-2
lines changed

packages/ipfs-http-server/test/inject/object.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ describe('/object', () => {
555555
}, { ipfs })
556556

557557
expect(res).to.have.property('statusCode', 200)
558-
expect(res).to.have.property('result', emptyDirectoryNode.Data)
558+
expect(res).to.have.deep.property('rawPayload', emptyDirectoryNode.Data)
559559
})
560560

561561
it('accepts a timeout', async () => {
@@ -570,7 +570,7 @@ describe('/object', () => {
570570
}, { ipfs })
571571

572572
expect(res).to.have.property('statusCode', 200)
573-
expect(res).to.have.property('result', emptyDirectoryNode.Data)
573+
expect(res).to.have.deep.property('rawPayload', emptyDirectoryNode.Data)
574574
})
575575
})
576576

0 commit comments

Comments
 (0)