aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-04-08 20:24:40 +0100
committerMichael Williamson <mike@zwobble.org>2013-04-08 20:24:40 +0100
commitef2df987bdcc908993d74a026d6099df04759848 (patch)
treeca03ac9bd96238a44c8c9445ae31ee71e68a5afa /tests
parentc21137ab994f5bdacf70dbfb3a6dc703afc6faee (diff)
Remove redundant test
Diffstat (limited to 'tests')
-rw-r--r--tests/docx-reader.tests.js10
-rw-r--r--tests/test-data/paragraphStyles/word/document.xml21
2 files changed, 0 insertions, 31 deletions
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 @@
-<?xml version="1.0" ?>
-<w:document mc:Ignorable="w14 wp14" xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" xmlns:wp14="http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" xmlns:wpi="http://schemas.microsoft.com/office/word/2010/wordprocessingInk" xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape">
- <w:body>
- <w:p w:rsidR="00E01ECE" w:rsidRDefault="000636A7">
- <w:pPr>
- <w:pStyle w:val="Heading1"/>
- </w:pPr>
- <w:r>
- <w:t>Hello.</w:t>
- </w:r>
- <w:bookmarkStart w:id="0" w:name="_GoBack"/>
- <w:bookmarkEnd w:id="0"/>
- </w:p>
- <w:sectPr w:rsidR="00E01ECE">
- <w:pgSz w:h="16838" w:w="11906"/>
- <w:pgMar w:bottom="1440" w:footer="708" w:gutter="0" w:header="708" w:left="1440" w:right="1440" w:top="1440"/>
- <w:cols w:space="708"/>
- <w:docGrid w:linePitch="360"/>
- </w:sectPr>
- </w:body>
-</w:document>