Closed premasagar closed 11 years ago
I've added an out of DOM test for an element with a parent but it seems to be failing.
var subject = Pablo(document.createElement('span'));
subject.append(document.createElement('a'));
expect(subject.some('span a')).to.eql(true); // is false, 'a' is false, 'span' is true
I've also added another test which uses HTML element so there is now a test for both HTML and SVG.
Currently, there is just a test for elements out of DOM with no parent