aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-07-02 23:47:48 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-07-02 23:47:48 -0700
commit12a342b6c0d6dd9badb58a929b240663bae8edef (patch)
treee46d75f3ebf371833936be3dc1d923f4a979fcdc
parent1206352b4ac8b12fffb497eab82f5e3db8ed0871 (diff)
downloadbun-12a342b6c0d6dd9badb58a929b240663bae8edef.tar.gz
bun-12a342b6c0d6dd9badb58a929b240663bae8edef.tar.zst
bun-12a342b6c0d6dd9badb58a929b240663bae8edef.zip
Update time.md
-rw-r--r--docs/test/time.md2
1 files changed, 1 insertions, 1 deletions
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"));