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

x/fresh_testing_library/mod.ts>prettyFormat.default

Utilities for testing fresh apps
Latest
function prettyFormat.default
import { prettyFormat } from "https://deno.land/x/fresh_testing_library@0.13.1/mod.ts";
const { default } = prettyFormat;

Returns a presentation string of your val object

Parameters

val: unknown

any potential JavaScript object

optional
options: OptionsReceived

Custom settings

Returns

string