diff --git a/docs/config/index.md b/docs/config/index.md index 3420beb87c16..57d9b1e631aa 100644 --- a/docs/config/index.md +++ b/docs/config/index.md @@ -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 }, }, })