Browse Source

test: use fixtures module instead of common

PR-URL: https://github.com/nodejs/node/pull/15925
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
v9.x-staging
Joe Grace 7 years ago
committed by Ruben Bridgewater
parent
commit
c4178abc64
No known key found for this signature in database GPG Key ID: F07496B3EB3C1762
  1. 6
      test/parallel/test-https-simple.js

6
test/parallel/test-https-simple.js

@ -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;

Loading…
Cancel
Save