extension = {};
expect(function() {
- elementNode.transform('testTransformation');
+ elementNode.testTransformation();
}).to.throw(Error);
expect(function() {
- textNode.transform('testTransformation');
+ textNode.testTransformation();
}).to.throw(Error);
expect(function() {
doc.testTransformation();