Skip to content

Commit 9e1329c

Browse files
committed
chore: fix linting in tests
1 parent 4756bda commit 9e1329c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integrity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const nock = require('nock')
44
const ssri = require('ssri')
55
const t = require('tap')
66
const zlib = require('zlib')
7-
const { once } = require('events')
87

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

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

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

0 commit comments

Comments
 (0)