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

x/oak_nest/test_deps.ts>assertNotStrictEquals

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
function assertNotStrictEquals
import { assertNotStrictEquals } from "https://deno.land/x/oak_nest@v3.0.1/test_deps.ts";

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

import { assertNotStrictEquals } from "https://deno.land/std@0.224.0/testing/asserts.ts";

assertNotStrictEquals(1, 1)

Parameters

actual: T
expected: T
optional
msg: string