From ef2df987bdcc908993d74a026d6099df04759848 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 8 Apr 2013 20:24:40 +0100 Subject: Remove redundant test --- tests/docx-reader.tests.js | 10 ---------- tests/test-data/paragraphStyles/word/document.xml | 21 --------------------- 2 files changed, 31 deletions(-) delete mode 100644 tests/test-data/paragraphStyles/word/document.xml (limited to 'tests') diff --git a/tests/docx-reader.tests.js b/tests/docx-reader.tests.js index 0436d87..58c5f6b 100644 --- a/tests/docx-reader.tests.js +++ b/tests/docx-reader.tests.js @@ -27,16 +27,6 @@ describe("docx-reader", function() { }); }); - test("can read paragraph styles", function() { - var docxFile = createFakeDocxFile({ - "word/document.xml": testData("paragraphStyles/word/document.xml") - }); - return docxReader.read(docxFile).then(function(result) { - var paragraph = result.document.children[0]; - assert.deepEqual("Heading1", paragraph.properties.styleName); - }); - }); - test("hyperlink hrefs are read from relationships file", function() { var docxFile = createFakeDocxFile({ "word/document.xml": testData("hyperlinks/word/document.xml"), diff --git a/tests/test-data/paragraphStyles/word/document.xml b/tests/test-data/paragraphStyles/word/document.xml deleted file mode 100644 index f7ab26d..0000000 --- a/tests/test-data/paragraphStyles/word/document.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - Hello. - - - - - - - - - - - - -- cgit v1.2.3