Browse Source

replace duplicate test from https

Closes #137
http2
Vsevolod Strukchinsky 9 years ago
parent
commit
27313bd5cf
  1. 4
      test/https.js

4
test/https.js

@ -41,8 +41,8 @@ test.before('setup', async () => {
await s.listen(s.port);
});
test('make request to https server', async t => {
t.ok((await got('https://google.com', {strictSSL: true})).body);
test('make request to https server without ca', async t => {
t.ok((await got(s.url, {rejectUnauthorized: false})).body);
});
test('make request to https server with ca', async t => {

Loading…
Cancel
Save