Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function createAssertSnapshot
import { createAssertSnapshot } from "https://deno.land/std@0.161.0/testing/snapshot.ts";

Parameters

options: SnapshotOptions<T>
optional
baseAssertSnapshot: assertSnapshot = [UNSUPPORTED]

Returns

assertSnapshot