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 5163757 commit 1906df1Copy full SHA for 1906df1
test/parallel/test-https-agent-disable-session-reuse.js
@@ -1,17 +1,19 @@
1
'use strict';
2
const common = require('../common');
3
+
4
if (!common.hasCrypto)
5
common.skip('missing crypto');
6
7
+const fixtures = require('../common/fixtures');
8
9
const assert = require('assert');
10
const https = require('https');
-const fs = require('fs');
11
12
const TOTAL_REQS = 2;
13
14
const options = {
- key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`),
- cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`)
15
+ key: fixtures.readKey('agent1-key.pem'),
16
+ cert: fixtures.readKey('agent1-cert.pem')
17
};
18
19
const clientSessions = [];
0 commit comments