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

x/packup/test_deps.ts

📦 Zero-config web application packager in Deno
Go to Latest
import * as packup from "https://deno.land/x/packup@v0.1.13/test_deps.ts";

Functions

Make an assertion, error will be thrown if expr does not have truthy value.

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

Make an assertion that actual includes expected. If not then throw.

Executes a function, expecting it to throw. If it does not, then it throws. An error class and a string that should be included in the error message can also be asserted. Or you can pass a callback which will be passed the error, usually to apply some custom assertions on it.

Creates a Promise with the reject and resolve functions placed as methods on the promise object itself. It allows you to do: