diff --git a/packages/verified-fetch/test/accept-header.spec.ts b/packages/verified-fetch/test/accept-header.spec.ts index b21b0fd6..f255be31 100644 --- a/packages/verified-fetch/test/accept-header.spec.ts +++ b/packages/verified-fetch/test/accept-header.spec.ts @@ -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' @@ -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({