[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

docs: fix typo related to reporters (#4008)

authored by

Dunqing and committed by
GitHub
(Aug 24, 2023, 2:23 PM +0200) e8f7b086 00c432fa

+2 -2
+2 -2
docs/advanced/reporters.md
··· 19 19 And here is an example of a custom reporter: 20 20 21 21 ```ts 22 - // ./custom-reporter.ts 22 + // ./custom-reporter.js 23 23 import { BaseReporter } from 'vitest/reporters' 24 24 25 25 export default class CustomReporter extends BaseReporter { ··· 33 33 Or implement the `Reporter` interface: 34 34 35 35 ```ts 36 - // ./custom-reporter.ts 36 + // ./custom-reporter.js 37 37 import { Reporter } from 'vitest/reporters' 38 38 39 39 export default class CustomReporter implements Reporter {