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

std/testing/time.ts>FakeTime#tick

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method FakeTime.prototype.tick
import { FakeTime } from "https://deno.land/std@0.199.0/testing/time.ts";

Adds the specified number of milliseconds to the fake time. This will call any functions waiting to be called between the current and new fake time.

Parameters

optional
ms = [UNSUPPORTED]