Skip to main content

@std/expect@0.223.0

Jest compatible `expect` assertion functions

Works with
This package works with Bun
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
70%
Published
a week ago
indexexpect
function expect
deno add @std/expect
import { expect } from "@std/expect";
npx jsr add @std/expect
import { expect } from "@std/expect";
yarn dlx jsr add @std/expect
import { expect } from "@std/expect";
pnpm dlx jsr add @std/expect
import { expect } from "@std/expect";
bunx jsr add @std/expect
import { expect } from "@std/expect";

Parameters

value: unknown
optional
customMessage: string

Return Type

Expected