10BC0
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 339bdca commit 48e1320Copy full SHA for 48e1320
test/parallel/test-tls-inception.js
@@ -1,19 +1,18 @@
1
'use strict';
2
const common = require('../common');
3
+const fixtures = require('../common/fixtures');
4
5
if (!common.hasCrypto)
6
common.skip('missing crypto');
7
8
const assert = require('assert');
9
const tls = require('tls');
10
-const fs = require('fs');
11
-const path = require('path');
12
const net = require('net');
13
14
const options = {
15
- key: fs.readFileSync(path.join(common.fixturesDir, 'test_key.pem')),
16
- cert: fs.readFileSync(path.join(common.fixturesDir, 'test_cert.pem'))
+ key: fixtures.readSync('test_key.pem'),
+ cert: fixtures.readSync('test_cert.pem')
17
};
18
19
const body = 'A'.repeat(40000);
0 commit comments