1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/tests/specs/test/hide_stacktraces/main.js

8 lines
230 B
JavaScript

Deno.test("assert a b", () => {
class AssertionError extends Error {
name = "AssertionError";
}
throw new AssertionError(
"Values are not equal.\n\n\n [Diff] Actual / Expected\n\n\n- foo\n+ bar\n\n",
);
});