@happy-dom/global-registrator

v2.16.1
A utility that registers Happy DOM globally, which makes it possible to use Happy DOM for testing in a Node environment.
jsdom happy dom webcomponents web component custom elements global and 3 more...

lint

eslint --max-warnings 0 --fix './src/**/*.ts'

test

tsc --project ./test && node ./tmp/react/React.test.js

watch

npm run compile && tsc -w --preserveWatchOutput

compile

tsc

test:debug

tsc --project ./test && node --inspect-brk ./tmp/react/React.test.js
npm i @happy-dom/[email protected]

Metadata

  • MIT
  • Whatever
  • David Ortner
  • released 4/28/2021

Downloads

Maintainers