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

x/test_suite/mod.ts

An extension of Deno's built-in test runner to add setup/teardown hooks and make it easier to organize tests in a format similar to Jasmine, Jest, and Mocha.
Latest
import * as testSuite from "https://deno.land/x/test_suite@0.16.1/mod.ts";

Functions

Run some shared teardown after all of the tests in the suite.

Run some shared teardown after each test in the suite.

Run some shared setup before all of the tests in the suite.

Run some shared setup before each test in the suite.

f
describe
deprecated

Registers a test suite.

f
it
deprecated

Registers an individual test case.

Interfaces

Registers a test suite.

The options for creating a test suite with the describe function.

Registers an individual test case.

The options for creating an individual test case with the it function.

A group of tests.

Type Aliases

The arguments for a DescribeFunction.

The arguments for an ItFunction.