Skip to content

Commit

Permalink
test: fix firefox failure
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Mar 15, 2024
1 parent f0dfc60 commit 1d73d77
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/verified-fetch/test/utils/parse-url-string.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,9 @@ describe('parseUrlString', () => {
ipns,
logger
})
).to.eventually.be.rejected
.and.to.have.property('errors').that.deep.equals([
new TypeError('Could not parse PeerId in ipns url "mydomain.com", Non-base64 character'),
new TypeError('Cannot read properties of undefined (reading \'answer\')')
])
).to.eventually.be.rejected.and.to.have.nested.property('errors[0]').to.deep.equal(
new TypeError('Could not parse PeerId in ipns url "mydomain.com", Non-base64 character')
)
})
})

Expand Down

0 comments on commit 1d73d77

Please sign in to comment.