We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d410f74 commit 054f8f6Copy full SHA for 054f8f6
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 = Object.assign({}, process.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