Skip to content
Permalink
Browse files

test: use fixtures module instead of common

PR-URL: #15925
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information...
wonk authored and MylesBorins committed Oct 6, 2017
1 parent e81fc8a commit 71daa68c3d6f12fd35bbb34462886e1bec7cadfd
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/parallel/test-https-simple.js
@@ -1,16 +1,16 @@
'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;

0 comments on commit 71daa68

Please sign in to comment.
You can’t perform that action at this time.