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

std/testing

The Deno Standard Library
Latest
The Standard Library has been moved to JSR. See the blog post for details.
Index
asserts.ts

A library of assertion functions. If the assertion is false an AssertionError will be thrown which will result in pretty-printed diff of failing assertion.

bdd.ts

A BDD interface to Deno.test() API.

mock.ts

A mocking and spying library.

snapshot.ts

A snapshotting library.

time.ts

Utilities for mocking time while testing.

types.ts