aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Rupprecht <rupprecht.thomas+git@gmail.com> 2023-09-13 03:49:19 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-12 18:49:19 -0700
commit8777c3f72c8aa0dfef73a52c66887c0faaf41401 (patch)
treee7d09047126d9e31d6afcc875dbb34704e94ea9d
parent996491f719a09c046dc3cbc95f275ca76af195e2 (diff)
downloadbun-8777c3f72c8aa0dfef73a52c66887c0faaf41401.tar.gz
bun-8777c3f72c8aa0dfef73a52c66887c0faaf41401.tar.zst
bun-8777c3f72c8aa0dfef73a52c66887c0faaf41401.zip
fix lifecycle docu (#5159)
-rw-r--r--docs/test/lifecycle.md8
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...
});
```