mock
Utilities to help mock behavior, spy on function calls, stub methods, and fake time for tests.
Official docs outline
Extra Credit builds an outline of mock's docs the first time your work uses it. Until then, start at the official documentation.
More in Deno modules
All 1,000-
oak A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
-
semver The semver parser for Deno (a fork of node-semver using TypeScript)
-
dotenv Deprecated. Use std/dotenv instead.
-
plug 🔌 Deno FFI helper module
-
sqlite Deno SQLite module
-
expect DEPRECATED helpers for writing jest like expect tests in deno
-
media_types Deprecated. Use std/media_types instead.
-
esbuild
-
ultirequiem 🦕 Some custom helpers
-
postgres PostgreSQL driver for Deno
-
unitest 🃏 Deno-first universal unit testing framework
-
test_suite 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,