Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/testing/snapshot.ts>serialize

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function serialize
import { serialize } from "https://deno.land/std@0.182.0/testing/snapshot.ts";

Default serializer for assertSnapshot.

Parameters

actual: unknown

Returns

string