Skip to content

Commit 0f8b315

Browse files
aniwngMylesBorins
authored andcommitted
test: replace fixturesDir in tls-env-bad-extra-ca
PR-URL: #15813 Reviewed-By: Ryan Graham <r.m.graham@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
1 parent 48a55d1 commit 0f8b315

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/parallel/test-tls-env-bad-extra-ca.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ if (!common.hasCrypto)
77
common.skip('missing crypto');
88

99
const assert = require('assert');
10-
const tls = require('tls');
10+
const fixtures = require('../common/fixtures');
1111
const fork = require('child_process').fork;
12+
const tls = require('tls');
1213

1314
if (process.env.CHILD) {
1415
// This will try to load the extra CA certs, and emit a warning when it fails.
@@ -17,7 +18,7 @@ if (process.env.CHILD) {
1718

1819
const env = {
1920
CHILD: 'yes',
20-
NODE_EXTRA_CA_CERTS: `${common.fixturesDir}/no-such-file-exists`,
21+
NODE_EXTRA_CA_CERTS: `${fixtures.fixturesDir}/no-such-file-exists`
2122
};
2223

2324
const opts = {

0 commit comments

Comments
 (0)