We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69600ce commit e2d9dcdCopy full SHA for e2d9dcd
test/parallel/test-blob.js
@@ -368,7 +368,7 @@ assert.throws(() => new Blob({}), {
368
assert.strictEqual(value.byteLength, 30000);
369
assert(!done);
370
setTimeout(common.mustCall(() => {
371
- assert.strictEqual(stream[kState].controller.desiredSize, 0);
+ assert.ok(stream[kState].controller.desiredSize <= 0);
372
}), 0);
373
})().then(common.mustCall());
374
@@ -381,7 +381,7 @@ assert.throws(() => new Blob({}), {
381
assert.strictEqual(value.byteLength, 2);
382
383
384
- assert.strictEqual(stream[kState].controller.desiredSize, -29998);
+ assert.ok(stream[kState].controller.desiredSize <= -29998);
385
386
387
0 commit comments