From ba1e7335f93b82c110209a6b6e3099908aa1b2f8 Mon Sep 17 00:00:00 2001 From: Marcelo Botega Fontana Date: Tue, 12 Sep 2023 11:25:53 +0200 Subject: [PATCH] fix(docs): fix lint errors on onConsoleLog example (#4116) --- docs/config/index.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 }, }, })