run tests after update

This commit is contained in:
JFH
2020-07-25 19:57:19 +02:00
parent bb5cb2c955
commit 630a76c1b6
15 changed files with 38 additions and 43 deletions

View File

@@ -765,8 +765,7 @@
while (node.childNodes[j]) {
const cn = node.childNodes[j];
cn.remove(); // `j` should stay the same as removing will cause node to be present
} // eslint-disable-next-line unicorn/no-fn-reference-in-iterator
}
attVal.childNodes.forEach(_childrenToJML(node));
} else {
@@ -792,13 +791,11 @@
}
if (attVal.head) {
// eslint-disable-next-line unicorn/no-fn-reference-in-iterator
attVal.head.forEach(_appendJML(head));
}
}
if (attVal.body) {
// eslint-disable-next-line unicorn/no-fn-reference-in-iterator
attVal.body.forEach(_appendJMLOrText(body));
}
}
@@ -1067,7 +1064,7 @@
// Todo: Fix to allow application of stylesheets of style tags within fragments?
return nodes.length <= 1 ? nodes[0] // eslint-disable-next-line unicorn/no-fn-reference-in-iterator
return nodes.length <= 1 ? nodes[0] // eslint-disable-next-line
: nodes.reduce(_fragReducer, doc.createDocumentFragment()); // nodes;
}