diff --git a/test/web-worker/vitest.config.ts b/test/web-worker/vitest.config.ts index c6de0b5c72d0..e2505eb392e5 100644 --- a/test/web-worker/vitest.config.ts +++ b/test/web-worker/vitest.config.ts @@ -13,8 +13,7 @@ export default defineConfig({ }, }, onConsoleLog(log) { - if (log.includes('Failed to load')) - return false + return !log.includes('Failed to load') }, }, })