Skip to content

Commit

Permalink
test: use common/fixtures in test-https-close
Browse files Browse the repository at this point in the history
PR-URL: #15870
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
alodela authored and MylesBorins committed Nov 16, 2017
1 parent 0b1ad5f commit 2ffce82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-https-close.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');

const fs = require('fs');
const fixtures = require('../common/fixtures');
const https = require('https');

const options = {
key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`),
cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`)
key: fixtures.readKey('agent1-key.pem'),
cert: fixtures.readKey('agent1-cert.pem')
};

const connections = {};
Expand Down

0 comments on commit 2ffce82

Please sign in to comment.