aboutsummaryrefslogtreecommitdiff
path: root/docs/guides/test/mock-clock.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/guides/test/mock-clock.md')
-rw-r--r--docs/guides/test/mock-clock.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/guides/test/mock-clock.md b/docs/guides/test/mock-clock.md
index 315c33f9f..d3876b6a1 100644
--- a/docs/guides/test/mock-clock.md
+++ b/docs/guides/test/mock-clock.md
@@ -5,7 +5,7 @@ name: Set the system time in Bun's test runner
Bun's test runner supports setting the system time programmatically with the `setSystemTime` function.
```ts
-import { test, expect, beforeAll, setSystemTime } from "bun:test";
+import { test, expect, setSystemTime } from "bun:test";
test("party like it's 1999", () => {
const date = new Date("1999-01-01T00:00:00.000Z");