diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-07-03 19:19:21 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-07-03 19:20:00 +0100 |
| commit | 0b56dfce42c3944cce47e284608e6806f4c839c3 (patch) | |
| tree | 5f96f9c2908f1c5b00a7192e71d4c192abd7cf47 | |
| parent | 627c4a755395e313234bdb1914d168392006c483 (diff) | |
Move tests to test for easier Mocha usage
| -rw-r--r-- | package.json | 2 | ||||
| -rw-r--r-- | test/.eslintrc.json (renamed from tests/.eslintrc.json) | 0 | ||||
| -rw-r--r-- | test/document-matchers.tests.js (renamed from tests/document-matchers.tests.js) | 0 | ||||
| -rw-r--r-- | test/document-to-html.tests.js (renamed from tests/document-to-html.tests.js) | 0 | ||||
| -rw-r--r-- | test/docx/body-reader.tests.js (renamed from tests/docx/body-reader.tests.js) | 0 | ||||
| -rw-r--r-- | test/docx/content-types-reader.tests.js (renamed from tests/docx/content-types-reader.tests.js) | 0 | ||||
| -rw-r--r-- | test/docx/docx-reader.tests.js (renamed from tests/docx/docx-reader.tests.js) | 0 | ||||
| -rw-r--r-- | test/docx/files.tests.js (renamed from tests/docx/files.tests.js) | 0 | ||||
| -rw-r--r-- | test/docx/notes-reader.tests.js (renamed from tests/docx/notes-reader.tests.js) | 0 | ||||
| -rw-r--r-- | test/docx/numbering-xml.tests.js (renamed from tests/docx/numbering-xml.tests.js) | 0 | ||||
| -rw-r--r-- | test/docx/office-xml-reader.tests.js (renamed from tests/docx/office-xml-reader.tests.js) | 0 | ||||
| -rw-r--r-- | test/docx/style-map.tests.js (renamed from tests/docx/style-map.tests.js) | 0 | ||||
| -rw-r--r-- | test/docx/styles-reader.tests.js (renamed from tests/docx/styles-reader.tests.js) | 0 | ||||
| -rw-r--r-- | test/html-paths.tests.js (renamed from tests/html-paths.tests.js) | 0 | ||||
| -rw-r--r-- | test/html/simplify.tests.js (renamed from tests/html/simplify.tests.js) | 0 | ||||
| -rw-r--r-- | test/html/write.tests.js (renamed from tests/html/write.tests.js) | 0 | ||||
| -rw-r--r-- | test/images.tests.js (renamed from tests/images.tests.js) | 0 | ||||
| -rw-r--r-- | test/main.tests.js (renamed from tests/main.tests.js) | 0 | ||||
| -rw-r--r-- | test/mammoth.tests.js (renamed from tests/mammoth.tests.js) | 0 | ||||
| -rw-r--r-- | test/options-reader.tests.js (renamed from tests/options-reader.tests.js) | 0 | ||||
| -rw-r--r-- | test/results.tests.js (renamed from tests/results.tests.js) | 0 | ||||
| -rw-r--r-- | test/style-reader.tests.js (renamed from tests/style-reader.tests.js) | 0 | ||||
| -rw-r--r-- | test/test-data/empty.docx (renamed from tests/test-data/empty.docx) | bin | 3306 -> 3306 bytes | |||
| -rw-r--r-- | test/test-data/endnotes.docx (renamed from tests/test-data/endnotes.docx) | bin | 4431 -> 4431 bytes | |||
| -rw-r--r-- | test/test-data/external-picture.docx (renamed from tests/test-data/external-picture.docx) | bin | 4120 -> 4120 bytes | |||
| -rwxr-xr-x | test/test-data/footnote-hyperlink.docx (renamed from tests/test-data/footnote-hyperlink.docx) | bin | 16271 -> 16271 bytes | |||
| -rwxr-xr-x | test/test-data/footnotes.docx (renamed from tests/test-data/footnotes.docx) | bin | 15936 -> 15936 bytes | |||
| -rw-r--r-- | test/test-data/hello.zip (renamed from tests/test-data/hello.zip) | bin | 120 -> 120 bytes | |||
| -rw-r--r-- | test/test-data/hyperlinks/word/_rels/document.xml.rels (renamed from tests/test-data/hyperlinks/word/_rels/document.xml.rels) | 0 | ||||
| -rw-r--r-- | test/test-data/hyperlinks/word/document.xml (renamed from tests/test-data/hyperlinks/word/document.xml) | 0 | ||||
| -rwxr-xr-x | test/test-data/simple-list.docx (renamed from tests/test-data/simple-list.docx) | bin | 13887 -> 13887 bytes | |||
| -rw-r--r-- | test/test-data/simple/word/document.xml (renamed from tests/test-data/simple/word/document.xml) | 0 | ||||
| -rwxr-xr-x | test/test-data/single-paragraph.docx (renamed from tests/test-data/single-paragraph.docx) | bin | 12773 -> 12773 bytes | |||
| -rwxr-xr-x | test/test-data/strikethrough.docx (renamed from tests/test-data/strikethrough.docx) | bin | 12652 -> 12652 bytes | |||
| -rwxr-xr-x | test/test-data/tables.docx (renamed from tests/test-data/tables.docx) | bin | 13087 -> 13087 bytes | |||
| -rwxr-xr-x | test/test-data/text-box.docx (renamed from tests/test-data/text-box.docx) | bin | 15850 -> 15850 bytes | |||
| -rwxr-xr-x | test/test-data/tiny-picture.docx (renamed from tests/test-data/tiny-picture.docx) | bin | 13699 -> 13699 bytes | |||
| -rw-r--r-- | test/test-data/tiny-picture.png (renamed from tests/test-data/tiny-picture.png) | bin | 110 -> 110 bytes | |||
| -rwxr-xr-x | test/test-data/underline.docx (renamed from tests/test-data/underline.docx) | bin | 12797 -> 12797 bytes | |||
| -rw-r--r-- | test/test-data/utf8-bom.docx (renamed from tests/test-data/utf8-bom.docx) | bin | 2836 -> 2836 bytes | |||
| -rw-r--r-- | test/testing.js (renamed from tests/testing.js) | 0 | ||||
| -rw-r--r-- | test/unzip.tests.js (renamed from tests/unzip.tests.js) | 0 | ||||
| -rw-r--r-- | test/writers/html-writer.tests.js (renamed from tests/writers/html-writer.tests.js) | 0 | ||||
| -rw-r--r-- | test/writers/markdown-writer.tests.js (renamed from tests/writers/markdown-writer.tests.js) | 0 | ||||
| -rw-r--r-- | test/xml/reader.tests.js (renamed from tests/xml/reader.tests.js) | 0 | ||||
| -rw-r--r-- | test/xml/writer.tests.js (renamed from tests/xml/writer.tests.js) | 0 | ||||
| -rw-r--r-- | test/zipfile.tests.js (renamed from tests/zipfile.tests.js) | 0 |
47 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json index 4db34df..a7a7a28 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ }, "scripts": { "pretest": "eslint lib tests", - "test": "mocha tests --recursive", + "test": "mocha test --recursive", "prepublish": "make mammoth.browser.min.js" }, "license": "BSD-2-Clause" diff --git a/tests/.eslintrc.json b/test/.eslintrc.json index 4869f03..4869f03 100644 --- a/tests/.eslintrc.json +++ b/test/.eslintrc.json diff --git a/tests/document-matchers.tests.js b/test/document-matchers.tests.js index 58dbf80..58dbf80 100644 --- a/tests/document-matchers.tests.js +++ b/test/document-matchers.tests.js diff --git a/tests/document-to-html.tests.js b/test/document-to-html.tests.js index 10ea265..10ea265 100644 --- a/tests/document-to-html.tests.js +++ b/test/document-to-html.tests.js diff --git a/tests/docx/body-reader.tests.js b/test/docx/body-reader.tests.js index 0a808b0..0a808b0 100644 --- a/tests/docx/body-reader.tests.js +++ b/test/docx/body-reader.tests.js diff --git a/tests/docx/content-types-reader.tests.js b/test/docx/content-types-reader.tests.js index a223d09..a223d09 100644 --- a/tests/docx/content-types-reader.tests.js +++ b/test/docx/content-types-reader.tests.js diff --git a/tests/docx/docx-reader.tests.js b/test/docx/docx-reader.tests.js index 69ade7e..69ade7e 100644 --- a/tests/docx/docx-reader.tests.js +++ b/test/docx/docx-reader.tests.js diff --git a/tests/docx/files.tests.js b/test/docx/files.tests.js index 2a0919c..2a0919c 100644 --- a/tests/docx/files.tests.js +++ b/test/docx/files.tests.js diff --git a/tests/docx/notes-reader.tests.js b/test/docx/notes-reader.tests.js index 79ffed3..79ffed3 100644 --- a/tests/docx/notes-reader.tests.js +++ b/test/docx/notes-reader.tests.js diff --git a/tests/docx/numbering-xml.tests.js b/test/docx/numbering-xml.tests.js index 2fea5fb..2fea5fb 100644 --- a/tests/docx/numbering-xml.tests.js +++ b/test/docx/numbering-xml.tests.js diff --git a/tests/docx/office-xml-reader.tests.js b/test/docx/office-xml-reader.tests.js index 9d202ba..9d202ba 100644 --- a/tests/docx/office-xml-reader.tests.js +++ b/test/docx/office-xml-reader.tests.js diff --git a/tests/docx/style-map.tests.js b/test/docx/style-map.tests.js index 55171f8..55171f8 100644 --- a/tests/docx/style-map.tests.js +++ b/test/docx/style-map.tests.js diff --git a/tests/docx/styles-reader.tests.js b/test/docx/styles-reader.tests.js index 4ff19c7..4ff19c7 100644 --- a/tests/docx/styles-reader.tests.js +++ b/test/docx/styles-reader.tests.js diff --git a/tests/html-paths.tests.js b/test/html-paths.tests.js index 76a77ef..76a77ef 100644 --- a/tests/html-paths.tests.js +++ b/test/html-paths.tests.js diff --git a/tests/html/simplify.tests.js b/test/html/simplify.tests.js index ccc5610..ccc5610 100644 --- a/tests/html/simplify.tests.js +++ b/test/html/simplify.tests.js diff --git a/tests/html/write.tests.js b/test/html/write.tests.js index 531995f..531995f 100644 --- a/tests/html/write.tests.js +++ b/test/html/write.tests.js diff --git a/tests/images.tests.js b/test/images.tests.js index 7aac5a2..7aac5a2 100644 --- a/tests/images.tests.js +++ b/test/images.tests.js diff --git a/tests/main.tests.js b/test/main.tests.js index d603626..d603626 100644 --- a/tests/main.tests.js +++ b/test/main.tests.js diff --git a/tests/mammoth.tests.js b/test/mammoth.tests.js index 1a82014..1a82014 100644 --- a/tests/mammoth.tests.js +++ b/test/mammoth.tests.js diff --git a/tests/options-reader.tests.js b/test/options-reader.tests.js index 94c864c..94c864c 100644 --- a/tests/options-reader.tests.js +++ b/test/options-reader.tests.js diff --git a/tests/results.tests.js b/test/results.tests.js index 3c0df78..3c0df78 100644 --- a/tests/results.tests.js +++ b/test/results.tests.js diff --git a/tests/style-reader.tests.js b/test/style-reader.tests.js index 0a4dccb..0a4dccb 100644 --- a/tests/style-reader.tests.js +++ b/test/style-reader.tests.js diff --git a/tests/test-data/empty.docx b/test/test-data/empty.docx Binary files differindex e10b869..e10b869 100644 --- a/tests/test-data/empty.docx +++ b/test/test-data/empty.docx diff --git a/tests/test-data/endnotes.docx b/test/test-data/endnotes.docx Binary files differindex 1ae4f93..1ae4f93 100644 --- a/tests/test-data/endnotes.docx +++ b/test/test-data/endnotes.docx diff --git a/tests/test-data/external-picture.docx b/test/test-data/external-picture.docx Binary files differindex 3475626..3475626 100644 --- a/tests/test-data/external-picture.docx +++ b/test/test-data/external-picture.docx diff --git a/tests/test-data/footnote-hyperlink.docx b/test/test-data/footnote-hyperlink.docx Binary files differindex 208f3dc..208f3dc 100755 --- a/tests/test-data/footnote-hyperlink.docx +++ b/test/test-data/footnote-hyperlink.docx diff --git a/tests/test-data/footnotes.docx b/test/test-data/footnotes.docx Binary files differindex 3228e74..3228e74 100755 --- a/tests/test-data/footnotes.docx +++ b/test/test-data/footnotes.docx diff --git a/tests/test-data/hello.zip b/test/test-data/hello.zip Binary files differindex 613eb52..613eb52 100644 --- a/tests/test-data/hello.zip +++ b/test/test-data/hello.zip diff --git a/tests/test-data/hyperlinks/word/_rels/document.xml.rels b/test/test-data/hyperlinks/word/_rels/document.xml.rels index baa4102..baa4102 100644 --- a/tests/test-data/hyperlinks/word/_rels/document.xml.rels +++ b/test/test-data/hyperlinks/word/_rels/document.xml.rels diff --git a/tests/test-data/hyperlinks/word/document.xml b/test/test-data/hyperlinks/word/document.xml index f1ce575..f1ce575 100644 --- a/tests/test-data/hyperlinks/word/document.xml +++ b/test/test-data/hyperlinks/word/document.xml diff --git a/tests/test-data/simple-list.docx b/test/test-data/simple-list.docx Binary files differindex c2cd5ae..c2cd5ae 100755 --- a/tests/test-data/simple-list.docx +++ b/test/test-data/simple-list.docx diff --git a/tests/test-data/simple/word/document.xml b/test/test-data/simple/word/document.xml index 1723398..1723398 100644 --- a/tests/test-data/simple/word/document.xml +++ b/test/test-data/simple/word/document.xml diff --git a/tests/test-data/single-paragraph.docx b/test/test-data/single-paragraph.docx Binary files differindex 09caf9a..09caf9a 100755 --- a/tests/test-data/single-paragraph.docx +++ b/test/test-data/single-paragraph.docx diff --git a/tests/test-data/strikethrough.docx b/test/test-data/strikethrough.docx Binary files differindex 0d2b713..0d2b713 100755 --- a/tests/test-data/strikethrough.docx +++ b/test/test-data/strikethrough.docx diff --git a/tests/test-data/tables.docx b/test/test-data/tables.docx Binary files differindex 86009a7..86009a7 100755 --- a/tests/test-data/tables.docx +++ b/test/test-data/tables.docx diff --git a/tests/test-data/text-box.docx b/test/test-data/text-box.docx Binary files differindex 2d53703..2d53703 100755 --- a/tests/test-data/text-box.docx +++ b/test/test-data/text-box.docx diff --git a/tests/test-data/tiny-picture.docx b/test/test-data/tiny-picture.docx Binary files differindex d45bb9e..d45bb9e 100755 --- a/tests/test-data/tiny-picture.docx +++ b/test/test-data/tiny-picture.docx diff --git a/tests/test-data/tiny-picture.png b/test/test-data/tiny-picture.png Binary files differindex 74cb4ba..74cb4ba 100644 --- a/tests/test-data/tiny-picture.png +++ b/test/test-data/tiny-picture.png diff --git a/tests/test-data/underline.docx b/test/test-data/underline.docx Binary files differindex 36604fc..36604fc 100755 --- a/tests/test-data/underline.docx +++ b/test/test-data/underline.docx diff --git a/tests/test-data/utf8-bom.docx b/test/test-data/utf8-bom.docx Binary files differindex 3881238..3881238 100644 --- a/tests/test-data/utf8-bom.docx +++ b/test/test-data/utf8-bom.docx diff --git a/tests/testing.js b/test/testing.js index d70f86e..d70f86e 100644 --- a/tests/testing.js +++ b/test/testing.js diff --git a/tests/unzip.tests.js b/test/unzip.tests.js index 994fb68..994fb68 100644 --- a/tests/unzip.tests.js +++ b/test/unzip.tests.js diff --git a/tests/writers/html-writer.tests.js b/test/writers/html-writer.tests.js index 41d8839..41d8839 100644 --- a/tests/writers/html-writer.tests.js +++ b/test/writers/html-writer.tests.js diff --git a/tests/writers/markdown-writer.tests.js b/test/writers/markdown-writer.tests.js index 38d2afe..38d2afe 100644 --- a/tests/writers/markdown-writer.tests.js +++ b/test/writers/markdown-writer.tests.js diff --git a/tests/xml/reader.tests.js b/test/xml/reader.tests.js index afc98de..afc98de 100644 --- a/tests/xml/reader.tests.js +++ b/test/xml/reader.tests.js diff --git a/tests/xml/writer.tests.js b/test/xml/writer.tests.js index d41ddc1..d41ddc1 100644 --- a/tests/xml/writer.tests.js +++ b/test/xml/writer.tests.js diff --git a/tests/zipfile.tests.js b/test/zipfile.tests.js index 1a0ab99..1a0ab99 100644 --- a/tests/zipfile.tests.js +++ b/test/zipfile.tests.js |
