From 12a342b6c0d6dd9badb58a929b240663bae8edef Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Sun, 2 Jul 2023 23:47:48 -0700 Subject: Update time.md --- docs/test/time.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/test/time.md b/docs/test/time.md index dd23f788f..3da79df8d 100644 --- a/docs/test/time.md +++ b/docs/test/time.md @@ -13,7 +13,7 @@ Timers are not impacted yet, but may be in a future release of Bun. To change the system time, use `setSystemTime`: ```ts -import { setSystemTime, beforeAll } from "bun:test"; +import { setSystemTime, beforeAll, test, expect } from "bun:test"; beforeAll(() => { setSystemTime(new Date("2020-01-01T00:00:00.000Z")); -- cgit v1.2.3