X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/9b1b7497ad65a4f8ef9053bcd6aac025027dd4f6..92e3984fd3f6c86739424ef8ee606dc2022af1c5:/src/wlxml/wlxml.test.js diff --git a/src/wlxml/wlxml.test.js b/src/wlxml/wlxml.test.js index 936093e..3d1df03 100644 --- a/src/wlxml/wlxml.test.js +++ b/src/wlxml/wlxml.test.js @@ -281,8 +281,8 @@ describe('WLXMLDocument', function() { }}}}; doc.registerExtension(extension); testClassNode = doc.root.contents()[1]; - expect(testClassNode.object.transform('testTransformation').sameNode(testClassNode)).to.equal(true, '1'); - expect(testClassNode.object.transform('testTransformation2').sameNode(testClassNode)).to.equal(true, '1'); + expect(testClassNode.object.testTransformation().sameNode(testClassNode)).to.equal(true, '1'); + expect(testClassNode.object.testTransformation2().sameNode(testClassNode)).to.equal(true, '1'); });