Skip to content

Commit

Permalink
fix(docs): fix lint errors on onConsoleLog example (#4116)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelobotega authored Sep 12, 2023
1 parent 19922d9 commit ba1e733
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/config/index.md
Original file line number Diff line number Diff line change
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 ba1e733

Please sign in to comment.