Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
function assertEquals
import { assertEquals } from "https://deno.land/x/denjucks@1.1.1/src/deps/path/std/testing/asserts.ts";

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Parameters

actual: unknown
expected: unknown
optional
msg: string