blob: b5f5b1f87e0ac27212d915d5810115aa960922fc (
plain)
1
2
3
4
5
6
7
8
9
10
|
import { assertEquals, assertStringIncludes, unitTest } from "./test_util.ts";
unitTest(function customInspectFunction() {
const blob = new DOMException("test");
assertEquals(
Deno.inspect(blob),
`DOMException: test`,
);
assertStringIncludes(Deno.inspect(DOMException.prototype), "DOMException");
});
|