18 lines
386 B
JavaScript
18 lines
386 B
JavaScript
window.testSuites.push( class testGroup {
|
|
|
|
BasicDivs() {
|
|
let divs = Group(() => {
|
|
div()
|
|
div()
|
|
div()
|
|
})
|
|
|
|
if(!(divs instanceof HTMLElement)) {
|
|
return `Did not receive an element!`
|
|
}
|
|
if(!(divs.children.length === 3)) {
|
|
return `Incorrect amount of children!`
|
|
}
|
|
}
|
|
|
|
}) |