This commit is contained in:
Pooya Parsa 2017-05-21 21:27:04 +04:30
parent 34ad604b98
commit c6f355a6b5

View File

@ -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)
})