Skip to content

Commit

Permalink
chore: unskip IPNS test (#6)
Browse files Browse the repository at this point in the history
This module supports retrieving raw IPNS records so the test for
this can be unskipped.
  • Loading branch information
achingbrain authored Mar 1, 2024
1 parent 77d5e9e commit 76485a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/verified-fetch/test/accept-header.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ describe('accept header', () => {
expect(resp.headers.get('content-type')).to.equal('application/octet-stream')
})

it.skip('should support fetching IPNS records', async () => {
it('should support fetching IPNS records', async () => {
const peerId = await createEd25519PeerId()
const obj = {
hello: 'world'
Expand All @@ -288,7 +288,7 @@ describe('accept header', () => {
expect(resp.headers.get('content-type')).to.equal('application/vnd.ipfs.ipns-record')
const buf = await resp.arrayBuffer()

expect(buf).to.equalBytes(marshal(record))
expect(new Uint8Array(buf)).to.equalBytes(marshal(record))
})

shouldNotAcceptCborWith({
Expand Down

0 comments on commit 76485a4

Please sign in to comment.