mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
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:
parent
618fcbd125
commit
dcc5e51e1c
52 changed files with 194 additions and 66 deletions
|
@ -1,7 +1,7 @@
|
|||
// Flags: --expose-internals
|
||||
|
||||
'use strict';
|
||||
|
||||
const common = require('../common');
|
||||
const { internalBinding } = require('internal/test/binding');
|
||||
const { getOptionValue } = require('internal/options');
|
||||
|
||||
|
@ -21,7 +21,6 @@ const binding =
|
|||
internalBinding('http_parser') : internalBinding('http_parser_llhttp');
|
||||
binding.HTTPParser = DummyParser;
|
||||
|
||||
const common = require('../common');
|
||||
const assert = require('assert');
|
||||
const { spawn } = require('child_process');
|
||||
const { parsers } = require('_http_common');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue