Skip to content

Commit

Permalink
chore: disable failing test due to bug in js-ipns
Browse files Browse the repository at this point in the history
  • Loading branch information
2color committed Mar 27, 2024
1 parent 5e0f4cd commit 9e5c62a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/verified-fetch/test/cache-control-header.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ describe('cache-control header', () => {
expect(resp.headers.get('Cache-Control')).to.not.containIgnoreCase('immutable')
})

it('should return the correct max-age in the cache-control header for an IPNS name', async () => {
// Skipping until https://github.com/ipfs/js-ipns/issues/310 is resolved
// Note that the source of the error is from the `name.publish` call rather than the max-age value
// in the cache control header.
it.skip('should return the correct max-age in the cache-control header for an IPNS name', async () => {
const obj = {
hello: 'world'
}
Expand Down

0 comments on commit 9e5c62a

Please sign in to comment.