We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48a55d1 commit 0f8b315Copy full SHA for 0f8b315
test/parallel/test-tls-env-bad-extra-ca.js
@@ -7,8 +7,9 @@ if (!common.hasCrypto)
7
common.skip('missing crypto');
8
9
const assert = require('assert');
10
-const tls = require('tls');
+const fixtures = require('../common/fixtures');
11
const fork = require('child_process').fork;
12
+const tls = require('tls');
13
14
if (process.env.CHILD) {
15
// This will try to load the extra CA certs, and emit a warning when it fails.
@@ -17,7 +18,7 @@ if (process.env.CHILD) {
17
18
19
const env = {
20
CHILD: 'yes',
- NODE_EXTRA_CA_CERTS: `${common.fixturesDir}/no-such-file-exists`,
21
+ NODE_EXTRA_CA_CERTS: `${fixtures.fixturesDir}/no-such-file-exists`
22
};
23
24
const opts = {
0 commit comments