From b27f4ceb9c517c3375d15a5464182c895af2bc68 Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Sun, 21 May 2023 00:53:50 -0700 Subject: [PATCH] Update extending.md --- docs/test/extending.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/test/extending.md b/docs/test/extending.md index a357d70e5f..16ce71155d 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: