mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
test: use const for all require() calls
PR-URL: https://github.com/nodejs/node/pull/10550 Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
parent
1605a2e02a
commit
ff1efa6087
605 changed files with 1573 additions and 1552 deletions
|
@ -1,15 +1,15 @@
|
|||
'use strict';
|
||||
var common = require('../common');
|
||||
var assert = require('assert');
|
||||
const common = require('../common');
|
||||
const assert = require('assert');
|
||||
|
||||
if (!common.hasCrypto) {
|
||||
common.skip('missing crypto');
|
||||
return;
|
||||
}
|
||||
var https = require('https');
|
||||
const https = require('https');
|
||||
|
||||
var url = require('url');
|
||||
var fs = require('fs');
|
||||
const url = require('url');
|
||||
const fs = require('fs');
|
||||
|
||||
// https options
|
||||
var httpsOptions = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue