Skip to content

Commit f5df9a2

Browse files
committed
use different output
1 parent 4309567 commit f5df9a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/v2/stream.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,9 +395,9 @@ describe("streams", () => {
395395

396396
// Create a moderate backpressure stream
397397
let processedChunks = 0;
398-
const outputStream = new stream.Transform({
398+
const outputStream = new stream.Writable({
399399
highWaterMark: 1,
400-
transform(chunk, encoding, callback) {
400+
write(chunk, encoding, callback) {
401401
processedChunks++;
402402

403403
// Simulate occasional slow processing with minimal delays

0 commit comments

Comments
 (0)