Skip to content

Commit 40b8259

Browse files
t-k-gTrott
authored andcommitted
test: replace common.fixturesDir with common.fixtures
1 parent 22882d4 commit 40b8259

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/parallel/test-https-pfx.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@
2121

2222
'use strict';
2323
const common = require('../common');
24+
2425
if (!common.hasCrypto)
2526
common.skip('missing crypto');
2627

28+
const fixtures = require('../common/fixtures');
29+
2730
const assert = require('assert');
28-
const fs = require('fs');
2931
const https = require('https');
3032

31-
const pfx = fs.readFileSync(`${common.fixturesDir}/test_cert.pfx`);
33+
const pfx = fixtures.readSync('test_cert.pfx');
3234

3335
const options = {
3436
host: '127.0.0.1',

0 commit comments

Comments
 (0)