init project

This commit is contained in:
2024-06-05 23:17:19 +02:00
commit 891b54034b
7 changed files with 108 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)