We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ce9a9c commit dd07ad4Copy full SHA for dd07ad4
test/sequential/test-stream-writable-clear-buffer.js
@@ -23,7 +23,7 @@ const testStream = new StreamWritable();
23
testStream.cork();
24
25
for (let i = 1; i <= 5; i++) {
26
- testStream.write(i, function() {
+ testStream.write(i, () => {
27
assert.strictEqual(
28
testStream._writableState.bufferedRequestCount,
29
testStream._writableState.getBuffer().length,
0 commit comments