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

x/deno/cli/js/test_util.ts>assertEquals

A modern runtime for JavaScript and TypeScript.
Go to Latest
function assertEquals
Re-export
import { assertEquals } from "https://deno.land/x/deno@v0.30.0/cli/js/test_util.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