Skip to main content
Deno 2 is finally 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.181.0/testing/snapshot.ts";

Default serializer for assertSnapshot.

Parameters

actual: unknown

Returns

string