mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
[docs] Minor syntax correction in test.md (#2153)
This commit is contained in:
@@ -112,7 +112,7 @@ afterEach(() => {
|
||||
// tests...
|
||||
```
|
||||
|
||||
Perform per-scope setup and teardown logic with `beforeAll` and `afterAll`. At the top-level, the `*scope* is the current file; in a `describe` block, the scope is the block itself.
|
||||
Perform per-scope setup and teardown logic with `beforeAll` and `afterAll`. At the top-level, the *scope* is the current file; in a `describe` block, the scope is the block itself.
|
||||
|
||||
```ts
|
||||
import { expect, test, beforeAll, afterAll } from "bun:test";
|
||||
|
||||
Reference in New Issue
Block a user