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

x/dtils/mod.ts>Expect

The best unofficial library of utilities for Deno applications
Go to Latest
interface Expect
import { type Expect } from "https://deno.land/x/dtils@1.6.3/mod.ts";

Methods

failure(reason: string): void
equal(v1: unknown, v2: unknown): void
error(func: () => unknown, type?: unknown): Promise<void> | void