Skip to content

Commit de91337

Browse files
marcelobotegaLorenzoBloedow
authored andcommitted
fix(docs): fix lint errors on onConsoleLog example (vitest-dev#4116)
1 parent 38152ca commit de91337

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/config/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1634,9 +1634,8 @@ import { defineConfig } from 'vitest/config'
16341634
export default defineConfig({
16351635
test: {
16361636
onConsoleLog(log: string, type: 'stdout' | 'stderr'): boolean | void {
1637-
if (log === 'message from third party library' && type === 'stdout') {
1638-
return false;
1639-
}
1637+
if (log === 'message from third party library' && type === 'stdout')
1638+
return false
16401639
},
16411640
},
16421641
})

0 commit comments

Comments
 (0)