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

x/deno/std/testing/asserts.ts>assertArrayContains

A modern runtime for JavaScript and TypeScript.
Go to Latest
function assertArrayContains
import { assertArrayContains } from "https://deno.land/x/deno@v0.28.0/std/testing/asserts.ts";

Make an assertion that actual contains the expected values If not then thrown.

Parameters

actual: unknown[]
expected: unknown[]
optional
msg: string