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

x/pup/test/deps.ts

Universal process manager built in Deno
Go to Latest
import * as pup from "https://deno.land/x/pup@1.0.0-rc.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 is greater than expected. If not then throw.

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

Executes a function which returns a promise, expecting it to reject.

Asserts that a spy is called as expected.

Executes a function, expecting it to throw. If it does not, then it throws.

Wraps a function or instance method with a Spy.