jsdom vs happy-dom #1607
cfife-btig
started this conversation in
General
Replies: 2 comments 8 replies
|
happy-dom is a faster alternative, but it doesn't have some Web APIs. jsdom is more mature package. |
8 replies
|
I think a lot of us wish for a more lightweight DOM mock for quick unit tests. I was quite excited about I'm afraid, at this time, You wouldn't think it'd be all that difficult to replicate just the most essential DOM features in a more lightweight way - just a simpler package, with a smaller scope, without mocking the entire browser, but still accurate to the specs. But I dunno... the DOM specs are awful complex. 🤔 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi there, I'm not sure if this is the place to ask this, but I'm a little confused by how there seems to be two different engines for rendering the dom, happy-dom and jsdom. Could someone share why some of the vitest examples seem to have both and roughly what their differences are?
All reactions