aboutsummaryrefslogtreecommitdiff
path: root/docs/cli/test.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cli/test.md')
-rw-r--r--docs/cli/test.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cli/test.md b/docs/cli/test.md
index 7af8dcc20..209685042 100644
--- a/docs/cli/test.md
+++ b/docs/cli/test.md
@@ -69,7 +69,7 @@ See [Test > Lifecycle](/docs/test/lifecycle) for complete documentation.
Create mocks with the `mock` function. Mocks are automatically reset between tests.
-```
+```ts
import { test, expect, mock } from "bun:test";
const random = mock(() => Math.random());