diff options
author | 2023-05-21 00:53:50 -0700 | |
---|---|---|
committer | 2023-05-21 00:53:50 -0700 | |
commit | b27f4ceb9c517c3375d15a5464182c895af2bc68 (patch) | |
tree | 850f9c6f5d17da397ffb1a00f359c8e9ec509c63 | |
parent | 1888c2df224dc446ba7e70cc5b2e38c4c0168d55 (diff) | |
download | bun-b27f4ceb9c517c3375d15a5464182c895af2bc68.tar.gz bun-b27f4ceb9c517c3375d15a5464182c895af2bc68.tar.zst bun-b27f4ceb9c517c3375d15a5464182c895af2bc68.zip |
Update extending.md
-rw-r--r-- | docs/test/extending.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/test/extending.md b/docs/test/extending.md index a357d70e5..16ce71155 100644 --- a/docs/test/extending.md +++ b/docs/test/extending.md @@ -1,6 +1,6 @@ Like the runtime, `bun:test` also supports `--preload` scripts. These scripts are loaded before any tests are run. This is useful for setting up test fixtures, mocking, and configuring the test environment. -{% codetab } +{% codetabs } ```ts#preloaded.ts import { beforeAll, beforeEach, afterEach, afterAll } from "bun:test"; @@ -22,7 +22,7 @@ afterAll(() => { }); ``` -{% /codetab %} +{% /codetabs %} Test file: |