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