Skip to content

Commit

Permalink
test: use fixtures module instead of common
Browse files Browse the repository at this point in the history
PR-URL: #15925
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
wonk authored and MylesBorins committed Oct 11, 2017
1 parent 5bfc4f5 commit 2ea339a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-https-simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@

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

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

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

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 tests = 2;
Expand Down

0 comments on commit 2ea339a

Please sign in to comment.