Skip to content

Commit 9752795

Browse files
committed
docs: note that exposed reporters are not stable
1 parent ecfe476 commit 9752795

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/guide/advanced/reporters.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This is an advanced API. If you just want to configure built-in reporters, read the ["Reporters"](/guide/reporters) guide.
55
:::
66

7-
You can import reporters from `vitest/reporters` and extend them to create your custom reporters.
7+
You can import reporters from `vitest/node` and extend them to create your custom reporters.
88

99
## Extending Built-in Reporters
1010

@@ -18,7 +18,11 @@ export default class MyDefaultReporter extends DefaultReporter {
1818
}
1919
```
2020

21-
Of course, you can create your reporter from scratch. Just implement the `Reporter` interface:
21+
::: warning
22+
However, note that exposed reports are not considered stable and can change within a minor version.
23+
:::
24+
25+
Of course, you can create your reporter from scratch. Just implement the [`Reporter`](/api/advanced/reporters) interface:
2226

2327
And here is an example of a custom reporter:
2428

0 commit comments

Comments
 (0)