aboutsummaryrefslogtreecommitdiff
path: root/docs/cli
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-07-14 11:33:07 -0700
committerGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-07-14 11:33:07 -0700
commit25512104265aa568ca98e5bd89a977203ee261a6 (patch)
treec6d0c4b0b0928e62d3ede6b17f8f272cd797ce94 /docs/cli
parent43abf2629ff228b19ff38a09f5423cf6f3863d84 (diff)
downloadbun-25512104265aa568ca98e5bd89a977203ee261a6.tar.gz
bun-25512104265aa568ca98e5bd89a977203ee261a6.tar.zst
bun-25512104265aa568ca98e5bd89a977203ee261a6.zip
Update docs
Diffstat (limited to 'docs/cli')
-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());