[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

fix(happy-dom): use the nodejs console in happy-dom v11 (#4090)

Co-authored-by: David Ortner <>

authored by

David Ortner and committed by
GitHub
(Sep 8, 2023, 11:16 AM +0300) 59434189 696b79e3

+1
+1
packages/vitest/src/integrations/env/happy-dom.ts
··· 34 34 const { Window, GlobalWindow } = await importModule('happy-dom') as typeof import('happy-dom') 35 35 const win = new (GlobalWindow || Window)({ 36 36 ...happyDOM, 37 + console: (console && global.console) ? global.console : undefined, 37 38 url: happyDOM.url || 'http://localhost:3000', 38 39 }) 39 40