std/testing/time.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.152.0/testing/time.ts";

Utilities for mocking time while testing.

This module is browser compatible.

Classes

Overrides the real Date object and timer functions with fake ones that can be controlled through the fake time instance.

An error related to faking time.