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'm encountering an error that seems quite similar to the one described in #190, except I'm using basichtml.
Below is the Minimal, Reproducible Example I could come up with. Am I doing something wrong that I can't see?
import{Document}from"basichtml";importhyperfrom"hyperhtml";it('should work',()=>{global.window=global;global.document=newDocument();constroot=document.createElement('div');constcls='foo';// This test passesexpect(()=>{hyper(root)`<div class="foo"></div>`;}).not.toThrow();// This test fails// TypeError: original.cloneNode is not a function// Tagger.attribute (node_modules/hyperhtml/cjs/objects/Updates.js:176:34)expect(()=>{hyper(root)`<div class=${cls}></div>`;}).not.toThrow();});
(I run that test using Jest. hyperhtml and basichtml are both in their latest versions, 2.32.2 and 2.3.0, respectively.)
The text was updated successfully, but these errors were encountered:
Hello,
I'm encountering an error that seems quite similar to the one described in #190, except I'm using basichtml.
Below is the Minimal, Reproducible Example I could come up with. Am I doing something wrong that I can't see?
(I run that test using Jest. hyperhtml and basichtml are both in their latest versions, 2.32.2 and 2.3.0, respectively.)
The text was updated successfully, but these errors were encountered: