Skip to content

Commit

Permalink
fix(docs): fix lint errors on onConsoleLog example (vitest-dev#4116)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelobotega authored and LorenzoBloedow committed Dec 19, 2023
1 parent 38152ca commit de91337
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/config/index.md
Expand Up @@ -1634,9 +1634,8 @@ import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
onConsoleLog(log: string, type: 'stdout' | 'stderr'): boolean | void {
if (log === 'message from third party library' && type === 'stdout') {
return false;
}
if (log === 'message from third party library' && type === 'stdout')
return false
},
},
})
Expand Down

0 comments on commit de91337

Please sign in to comment.