mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
test: don't use expose internals in test-http-outgoing-buffer.js
PR-URL: https://github.com/nodejs/node/pull/59219 Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
This commit is contained in:
parent
405ad4e8fb
commit
9a3e755bdb
|
|
@ -1,8 +1,7 @@
|
||||||
// Flags: --expose-internals
|
|
||||||
'use strict';
|
'use strict';
|
||||||
require('../common');
|
require('../common');
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const { getDefaultHighWaterMark } = require('internal/streams/state');
|
const { getDefaultHighWaterMark } = require('stream');
|
||||||
|
|
||||||
const http = require('http');
|
const http = require('http');
|
||||||
const OutgoingMessage = http.OutgoingMessage;
|
const OutgoingMessage = http.OutgoingMessage;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user