Skip to content

Commit 15d1697

Browse files
Copilotsheremet-va
andcommitted
Move version tags to heading line and add custom anchors in docs
Co-authored-by: sheremet-va <16173870+sheremet-va@users.noreply.github.com>
1 parent a6927f7 commit 15d1697

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

docs/api/browser/context.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,7 @@ export const utils: {
232232
}
233233
```
234234

235-
### configurePrettyDOM
236-
237-
<Version>4.1.0</Version>
235+
### configurePrettyDOM <Version>4.1.0</Version> {#configureprettydom}
238236

239237
The `configurePrettyDOM` function allows you to configure default options for the `prettyDOM` and `debug` functions. This is useful for customizing how HTML is formatted in test failure messages.
240238

@@ -255,9 +253,7 @@ utils.configurePrettyDOM({
255253
- **`highlight`** - Enable syntax highlighting (default: `true`)
256254
- And other options from [`pretty-format`](https://www.npmjs.com/package/@vitest/pretty-format)
257255
258-
#### Filtering with CSS Selectors
259-
260-
<Version>4.1.0</Version>
256+
#### Filtering with CSS Selectors <Version>4.1.0</Version> {#filtering-with-css-selectors}
261257
262258
The `filterNode` option allows you to hide irrelevant markup (like scripts, styles, or hidden elements) from test failure messages, making it easier to identify the actual cause of failures.
263259

0 commit comments

Comments
 (0)