Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
test(cache-control): fix no cache-control header test (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
lisathesecond committed Feb 3, 2021
1 parent 814c028 commit 8b39242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/spec/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,9 @@ describe('Integration', function () {

assert.ok(!response.request.fromCache)

const item = await api.cache.getItem("https://httpbin.org/cache/")
const item = await api.cache.getItem("https://httpbin.org/cache")

assert.equal(item.expires, 1000000)
assert.equal(item.expires, 10000000)

MockDate.reset()
})
Expand Down

0 comments on commit 8b39242

Please sign in to comment.