tools: force common be required before any other modules

PR-URL: https://github.com/nodejs/node/pull/27650
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
ZYSzys 2019-05-12 15:11:13 +08:00
parent 618fcbd125
commit dcc5e51e1c
52 changed files with 194 additions and 66 deletions

View file

@ -1,10 +1,10 @@
'use strict';
const assert = require('assert');
const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
const assert = require('assert');
const http2 = require('http2');
for (const chunkSequence of [