mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
test: replace common.fixturesDir with fixtures
PR-URL: https://github.com/nodejs/node/pull/15857 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
9b39ca6cbb
commit
b7865ea70d
1 file changed
+3
-3
@@ -9,11 +9,11 @@ if (!common.hasCrypto)
|
||||
|
||||
const assert = require('assert');
|
||||
const tls = require('tls');
|
||||
const fs = require('fs');
|
||||
const fixtures = require('../common/fixtures');
|
||||
|
||||
const options = {
|
||||
key: fs.readFileSync(`${common.fixturesDir}/keys/agent2-key.pem`),
|
||||
cert: fs.readFileSync(`${common.fixturesDir}/keys/agent2-cert.pem`)
|
||||
key: fixtures.readKey('agent2-key.pem'),
|
||||
cert: fixtures.readKey('agent2-cert.pem')
|
||||
};
|
||||
|
||||
// create server
|
||||
|
||||
Reference in new issue
Block a user