Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

A modern runtime for JavaScript and TypeScript.
Go to Latest
function assertStrictEq
import { assertStrictEq } from "https://deno.land/x/deno@v0.28.0/cli/js/test_util.ts";

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

Parameters

actual: unknown
expected: unknown
optional
msg: string