Browse Source

test: replace fixturesDir with fixtures module

PR-URL: https://github.com/nodejs/node/pull/15932
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
v9.x-staging
Greg Matthews 7 years ago
committed by Ruben Bridgewater
parent
commit
2bf182dc46
No known key found for this signature in database GPG Key ID: F07496B3EB3C1762
  1. 6
      test/parallel/test-https-eof-for-eom.js

6
test/parallel/test-https-eof-for-eom.js

@ -35,11 +35,11 @@ if (!common.hasCrypto)
const assert = require('assert'); const assert = require('assert');
const https = require('https'); const https = require('https');
const tls = require('tls'); const tls = require('tls');
const fs = require('fs'); const fixtures = require('../common/fixtures');
const options = { const options = {
key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`), key: fixtures.readKey('agent1-key.pem'),
cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`) cert: fixtures.readKey('agent1-cert.pem')
}; };

Loading…
Cancel
Save