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
Hi there! I'm using Vitest to run my tests, and for a performance boost I'm investigating rendering with happy-dom. However, when I try to run my tests, I get this error:
TypeError: Cannot set property isConnected of [object Object] which has only a getter
❯ new Node node_modules/happy-dom/src/nodes/node/Node.ts:57:29
❯ new Element node_modules/happy-dom/lib/nodes/element/Element.js:25:9
❯ new HTMLElement node_modules/happy-dom/lib/nodes/html-element/HTMLElement.js:17:9
❯ HTMLDocument.createElementNS node_modules/happy-dom/src/nodes/document/Document.ts:834:19
❯ HTMLDocument.createElement node_modules/happy-dom/src/nodes/document/Document.ts:803:15
❯ Object.<anonymous> node_modules/photoviewer/dist/photoviewer.common.js:97:22
I've seen this issue in a few libraries, including the axe-core library capricorn86/happy-dom#978 where they documented a trivial workaround.
Thanks for all your work on this library, it's awesome.
The text was updated successfully, but these errors were encountered:
Hi there! I'm using Vitest to run my tests, and for a performance boost I'm investigating rendering with
happy-dom
. However, when I try to run my tests, I get this error:I've seen this issue in a few libraries, including the axe-core library capricorn86/happy-dom#978 where they documented a trivial workaround.
Thanks for all your work on this library, it's awesome.
The text was updated successfully, but these errors were encountered: