mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
ESLint
This commit is contained in:
parent
34ad604b98
commit
c6f355a6b5
@ -149,7 +149,7 @@ test('ETag Header', async t => {
|
||||
// Validate etag
|
||||
t.regex(etag, /W\/".*"$/)
|
||||
// Verify functionality
|
||||
const error = await t.throws(rp(url('/stateless'), { headers: {'If-None-Match': etag}}))
|
||||
const error = await t.throws(rp(url('/stateless'), {headers: {'If-None-Match': etag}}))
|
||||
t.is(error.statusCode, 304)
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user