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

x/doa/test/test_deps.ts>assertEquals

A middleware framework for Deno's http serve🦕. Transplanted from Koa with ❤️
Latest
function assertEquals
import { assertEquals } from "https://deno.land/x/doa@v1.0.0/test/test_deps.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