happy-dom
tinybench
happy-dom | tinybench | |
---|---|---|
8 | 4 | |
2,925 | 1,457 | |
- | 13.2% | |
9.6 | 6.5 | |
6 days ago | 13 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
happy-dom
-
Vitest In-Source Testing for SFC in Vue?
Next weโll install Vitest and happy-dom to the project by running:
-
Migrating from Jest to Vitest for your React Application
JSDOM and happy-dom for DOM and browser API mocking
-
A question on testing a <select> element with Vitest / vue-test-utils
https://github.com/capricorn86/happy-dom/issues/618. Looks like some work was merged recently.
-
The Fetch API is finally coming to Node.js
I think you mean jsdom. You can try Happy DOM
-
vBulletin scraper ?
Well, I've actually done it using axios + happy-dom.
-
Testing your Solid.js code in vitest
You may have heard of vite, the slim fast dev server that scored an amazing as deserved 98% satisfaction on the state of js survey 2021. It's creators found unit testing too cumbersome and slow and decided to add their own perspective to the task. The result is vitest: it runs a vite server under the hood to transform the code to test as fast as possible, uses an enhanced flavor of chai to have jest-compatible assertions, integrates DOM mocking using jsdom or happy-dom and even the tiny-spy library that was just built as a separate library to allow for easy reuse is small and compatible with jest.
- Happy-DOM: a jsdom alternative that can server side render web components
-
Testing Solid.js code beyond jest
happy-dom, more lightweight
tinybench
What are some alternatives?
jsdom - A JavaScript implementation of various web standards, for use with Node.js
what-code-is-faster - A browser-based tool for speedy and correct JS performance comparisons!
vitest - Next generation testing framework powered by Vite.
globalping - A global network of probes to run network tests like ping, traceroute and DNS resolve
linkedom - A triple-linked lists based DOM implementation.
guess - ๐ฎ Libraries & tools for enabling Machine Learning driven user-experiences on the web
vite - Next generation frontend tooling. It's fast!
vitest.
solid-primitives - A library of high-quality primitives that extend SolidJS reactivity.
tinypool - ๐งต A minimal and tiny Node.js Worker Thread Pool implementation (38KB)
snoop - Easy breezy test spies fo sheezy.