Init tests

This commit is contained in:
2024-05-21 15:58:49 +02:00
parent 7b7b179760
commit c9bed93f99
2 changed files with 10 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import {GlobalRegistrator} from '@happy-dom/global-registrator'
import {Console} from 'logger-console'
import {writers, Level} from 'log'
GlobalRegistrator.register()
const logger = new Console({ minLevel: Level.DEBUG, with_color: true })
writers.set('console', logger)