diff --git a/lib/internal/blob.js b/lib/internal/blob.js index 176b4c88c0aa73..c5b417ddc291b6 100644 --- a/lib/internal/blob.js +++ b/lib/internal/blob.js @@ -361,7 +361,7 @@ class Blob { if (c.desiredSize <= 0) { // A manual backpressure check. if (this.pendingPulls.length !== 0) { - // case of waiting pull finished (= not yet canceled) + // A case of waiting pull finished (= not yet canceled) const pending = this.pendingPulls.shift(); pending.resolve(); } diff --git a/test/parallel/test-blob.js b/test/parallel/test-blob.js index c6c1814d5cd2c5..e0c28389511639 100644 --- a/test/parallel/test-blob.js +++ b/test/parallel/test-blob.js @@ -270,16 +270,16 @@ assert.throws(() => new Blob({}), { })().then(common.mustCall()); (async () => { - const b = new Blob(["A", "B", "C"]); + const b = new Blob(['A', 'B', 'C']); const stream = b.stream(); const chunks = []; const decoder = new TextDecoder(); await stream.pipeTo(new WritableStream({ write(chunk) { - chunks.push(decoder.decode(chunk, {stream: true})); + chunks.push(decoder.decode(chunk, { stream: true })); } })); - assert.strictEqual(chunks.join(""), "ABC"); + assert.strictEqual(chunks.join(''), 'ABC'); })().then(common.mustCall()); (async () => {