Browse Source

requests => responses

cache-clone-stream
Luke Childs 8 years ago
parent
commit
bd99d4dbee
  1. 4
      test/cache.js

4
test/cache.js

@ -23,7 +23,7 @@ test.before('setup', async () => {
await s.listen(s.port);
});
test('Non cacheable requests are not cached', async t => {
test('Non cacheable responses are not cached', async t => {
const endpoint = '/no-cache';
const cache = new Map();
@ -33,7 +33,7 @@ test('Non cacheable requests are not cached', async t => {
t.is(secondResponse, (firstResponse + 1));
});
test('Cacheable requests are cached', async t => {
test('Cacheable responses are cached', async t => {
const endpoint = '/cache';
const cache = new Map();

Loading…
Cancel
Save