Skip to content

Commit a9414e9

Browse files
committed
linting
1 parent 7e011ff commit a9414e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/smoke.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,14 +116,14 @@ describe('cache middleware', () => {
116116
expect(res.body).to.equal('world')
117117
expect(res.headers['x-cache-hit']).to.equal('1')
118118
expect(res.headers['cache-control']).to.equal('no-cache')
119-
expect(res.headers['etag']).to.equal('1')
119+
expect(res.headers.etag).to.equal('1')
120120
})
121121

122122
it('cache hit (buffer) - Etag', async () => {
123123
const res = await got('http://localhost:3000/cache-buffer')
124124
expect(res.body).to.equal('world')
125125
expect(res.headers['x-cache-hit']).to.equal('1')
126-
expect(res.headers['etag']).to.equal('1')
126+
expect(res.headers.etag).to.equal('1')
127127
})
128128

129129
it('cache hit (buffer) - If-None-Match', async () => {

0 commit comments

Comments
 (0)