8000
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 6d33564 commit 66fd6a1Copy full SHA for 66fd6a1
test/parallel/test-https-drain.js
@@ -3,14 +3,13 @@ const common = require('../common');
3
if (!common.hasCrypto)
4
common.skip('missing crypto');
5
6
+const fixtures = require('../common/fixtures');
7
const assert = require('assert');
8
const https = require('https');
-const fs = require('fs');
9
-const path = require('path');
10
11
const options = {
12
- key: fs.readFileSync(path.join(common.fixturesDir, 'test_key.pem')),
13
- cert: fs.readFileSync(path.join(common.fixturesDir, 'test_cert.pem'))
+ key: fixtures.readSync('test_key.pem'),
+ cert: fixtures.readSync('test_cert.pem')
14
};
15
16
const bufSize = 1024 * 1024;
0 commit comments