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:
Meghan Denny 2025-07-27 19:25:59 -08:00 committed by GitHub
parent 405ad4e8fb
commit 9a3e755bdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,8 +1,7 @@
// Flags: --expose-internals
'use strict';
require('../common');
const assert = require('assert');
const { getDefaultHighWaterMark } = require('internal/streams/state');
const { getDefaultHighWaterMark } = require('stream');
const http = require('http');
const OutgoingMessage = http.OutgoingMessage;