Browse Source

⬆️ ava@0.11

also fix test
http2
Vsevolod Strukchinsky 9 years ago
parent
commit
a51ab9ed61
  1. 2
      package.json
  2. 2
      test/redirects.js

2
package.json

@ -59,7 +59,7 @@
"url-parse-lax": "^1.0.0" "url-parse-lax": "^1.0.0"
}, },
"devDependencies": { "devDependencies": {
"ava": "^0.10.0", "ava": "^0.11.0",
"coveralls": "^2.11.4", "coveralls": "^2.11.4",
"get-port": "^2.0.0", "get-port": "^2.0.0",
"into-stream": "^2.0.0", "into-stream": "^2.0.0",

2
test/redirects.js

@ -127,7 +127,7 @@ test('redirects from http to https works', async t => {
}); });
test('redirects works with lowercase method', async t => { test('redirects works with lowercase method', async t => {
const body = (await got(`${s.url}/relative`, {method: 'head'})).body; const body = (await got(`${http.url}/relative`, {method: 'head'})).body;
t.is(body, ''); t.is(body, '');
}); });

Loading…
Cancel
Save