Skip to content

Commit

Permalink
test: replace common.fixturesDir with common.fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
t-k-g authored and Trott committed Oct 28, 2017
1 parent 22882d4 commit 40b8259
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/parallel/test-https-pfx.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@

'use strict';
const common = require('../common');

if (!common.hasCrypto)
common.skip('missing crypto');

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

const assert = require('assert');
const fs = require('fs');
const https = require('https');

const pfx = fs.readFileSync(`${common.fixturesDir}/test_cert.pfx`);
const pfx = fixtures.readSync('test_cert.pfx');

const options = {
host: '127.0.0.1',
Expand Down

0 comments on commit 40b8259

Please sign in to comment.