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

x/denoexec/deps.ts>testing._format

A higher level wrapper around https://doc.deno.land/builtin/stable#Deno.run
Latest
function testing._format
import { testing } from "https://deno.land/x/denoexec@v1.1.5/deps.ts";
const { _format } = testing;

Converts the input into a string. Objects, Sets and Maps are sorted so as to make tests less flaky

Parameters

v: unknown

Value to be formatted

Returns

string