Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function prettyFormat.format
import { prettyFormat } from "https://deno.land/x/fresh_testing_library@0.13.1/components.ts";
const { format } = prettyFormat;

Returns a presentation string of your val object

Parameters

val: unknown

any potential JavaScript object

optional
options: OptionsReceived

Custom settings

Returns

string