Open EvanHahn opened 19 hours ago
Describe the bug
assertEquals doesn't consider value-equal Blobs to be equal.
assertEquals
Blob
Steps to Reproduce
Run the following code:
import { assertEquals } from "jsr:@std/assert"; assertEquals(new Blob(["foo"]), new Blob(["foo"]));
Expected behavior
This should not throw an error. Instead, it throws AssertionError: Values are not equal.
AssertionError: Values are not equal.
Environment
Describe the bug
assertEquals
doesn't consider value-equalBlob
s to be equal.Steps to Reproduce
Run the following code:
Expected behavior
This should not throw an error. Instead, it throws
AssertionError: Values are not equal.
Environment