You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand if this isn't desired as this would add additional time to gh actions and if testing another implementation, then where does the list of implementations to test stops...
The text was updated successfully, but these errors were encountered:
The GH actions run so fast, I think it's fine to add another step. I didn't know there was a jsdom alternative, that's cool.
I'd like to know why this isn't working, if you do find a fix, we can definitely add HappyDOM testing to CI in the manner you proposed (or something similar, whatever is fine).
I tried again and we still have 10% of the tests failing with happy-dom (but there are no errors with VTU code as far as I can see).
There are issues with the way HappyDOM handles the visibility, selected options are not iterable, etc. We also had some issues opened by developers on VTU that were in fact from happy-dom
So I don't think we can add this to our CI, but feel free to use in project if that works for you
By default jest uses JSDOM. I wanted to try out HappyDOM for the sick performance gainz, but unfortunately I'm getting an error:
The error is coming from https://github.com/vuejs/vue-test-utils-next/blob/master/src/mount.ts#L451
Now, I don't know if this is an incorrect implementation on HappyDOM's part altough this seems to work as expected:
but can we perhaps also test with other jest environments?
I imagine this would could work something like
I understand if this isn't desired as this would add additional time to gh actions and if testing another implementation, then where does the list of implementations to test stops...
The text was updated successfully, but these errors were encountered: