Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh_testing_library/mod.ts>prettyFormat.format

Utilities for testing fresh apps
Latest
function prettyFormat.format
import { prettyFormat } from "https://deno.land/x/fresh_testing_library@0.13.1/mod.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