Skip to content

Commit ba1e733

Browse files
fix(docs): fix lint errors on onConsoleLog example (#4116)
1 parent 19922d9 commit ba1e733

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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)