Skip to content

Commit

Permalink
test: fix pin.remote.add blocking pin test
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Nov 29, 2023
1 parent 83ba4b3 commit 2a2e1f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/interface-tests/src/pin/remote/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ export function testAdd (factory, options) {
expect(winner).to.equal(timeout)

// trigger status change on the mock service
ipfs.pin.remote.add(cid, {
await ipfs.pin.remote.add(cid, {
service: SERVICE,
name: 'pinned-block'
})

expect(await result).to.deep.equal({
await expect(result).to.eventually.deep.equal({
cid,
status: 'pinned',
name: ''
Expand Down

0 comments on commit 2a2e1f3

Please sign in to comment.