docs: fix a typo (#8338)

This commit is contained in:
Dale Seo
2024-01-21 20:17:55 -05:00
committed by GitHub
parent 353f724a9c
commit 5b9e1e5708

View File

@@ -103,7 +103,7 @@ Bun supports the following lifecycle hooks:
| `afterEach` | Runs after each test. |
| `afterAll` | Runs once after all tests. |
These hooks can be define inside test files, or in a separate file that is preloaded with the `--preload` flag.
These hooks can be defined inside test files, or in a separate file that is preloaded with the `--preload` flag.
```ts
$ bun test --preload ./setup.ts