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

x/service/test/deps.ts

Install a Deno application as a system service
Go to Latest
import * as service from "https://deno.land/x/service@1.0.0-alpha.4/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.

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

Asserts that a spy is called as expected.

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.

Wraps a function or instance method with a Spy.