mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
test: reduce string concatenations
PR-URL: https://github.com/nodejs/node/pull/12735 Refs: https://github.com/nodejs/node/pull/12455 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
This commit is contained in:
parent
6bcf65d4a7
commit
8b76c3e60c
350 changed files with 1001 additions and 1075 deletions
|
@ -34,8 +34,8 @@ const fs = require('fs');
|
|||
|
||||
// https options
|
||||
const httpsOptions = {
|
||||
key: fs.readFileSync(common.fixturesDir + '/keys/agent1-key.pem'),
|
||||
cert: fs.readFileSync(common.fixturesDir + '/keys/agent1-cert.pem')
|
||||
key: fs.readFileSync(`${common.fixturesDir}/keys/agent1-key.pem`),
|
||||
cert: fs.readFileSync(`${common.fixturesDir}/keys/agent1-cert.pem`)
|
||||
};
|
||||
|
||||
function check(request) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue