diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/docx/document-xml-reader.tests.js | 2 | ||||
| -rw-r--r-- | tests/mammoth.tests.js | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/tests/docx/document-xml-reader.tests.js b/tests/docx/document-xml-reader.tests.js index b3876da..0897336 100644 --- a/tests/docx/document-xml-reader.tests.js +++ b/tests/docx/document-xml-reader.tests.js @@ -156,7 +156,7 @@ describe("readXmlElement: ", function() { }); test("w:table is read as document table element", function() { - var tableXml = new XmlElement("w:table", {}, [ + var tableXml = new XmlElement("w:tbl", {}, [ new XmlElement("w:tr", {}, [ new XmlElement("w:tc", {}, [ new XmlElement("w:p", {}, []) diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js index 35a19ff..cba59ea 100644 --- a/tests/mammoth.tests.js +++ b/tests/mammoth.tests.js @@ -89,8 +89,6 @@ describe('mammoth', function() { }); test('word tables are converted to html tables', function() { - // TODO: enable this test once tables are supported - return; var docxPath = path.join(__dirname, "test-data/tables.docx"); return mammoth.convertToHtml({path: docxPath}).then(function(result) { var expectedHtml = "<p>Above</p>" + |
