Skip to content

Commit

Permalink
chore: fix linting in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Apr 21, 2024
1 parent 4756bda commit 9e1329c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integrity.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const nock = require('nock')
const ssri = require('ssri')
const t = require('tap')
const zlib = require('zlib')
const { once } = require('events')

const CACHE = t.testdir()
const CONTENT = Buffer.from('hello, world!', 'utf8')
Expand Down Expand Up @@ -149,6 +148,7 @@ t.test('checks integrity on cache fetch too', async (t) => {
// t.same(goodBuf, CONTENT, 'good content passed scrutiny 👍🏼')

// const badRes1 = await safetch(`${HOST}/test`)
// eslint-disable-next-line max-len
// await t.rejects(() => badRes1.buffer(), { code: 'EINTEGRITY' }, 'cached content failed checksum')

const badRes2 = await safetch(`${HOST}/test`, {
Expand Down

0 comments on commit 9e1329c

Please sign in to comment.