diff options
Diffstat (limited to 'docs/test/lifecycle.md')
-rw-r--r-- | docs/test/lifecycle.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/test/lifecycle.md b/docs/test/lifecycle.md index fd804c9bb..3fa69b1e3 100644 --- a/docs/test/lifecycle.md +++ b/docs/test/lifecycle.md @@ -44,11 +44,11 @@ To scope the hooks to a test file: ```ts import { describe, beforeAll } from "bun:test"; -describe("test group", () => { - beforeAll(() => { - // setup - }); +beforeAll(() => { + // setup +}); +describe("test group", () => { // tests... }); ``` |