Skip to content

Commit

Permalink
test: replace common.fixturesDir with usage of the common.fixtures in
Browse files Browse the repository at this point in the history
test-https-close
  • Loading branch information
alodela committed Oct 6, 2017
1 parent 0c49038 commit f06f6b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/parallel/test-https-close.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
'use strict';
const common = require('../common');
const fixtures = require('../common/fixtures');
if (!common.hasCrypto)
common.skip('missing crypto');

const fs = require('fs');
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 f06f6b7

Please sign in to comment.