aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-01-06 22:33:54 +0000
committerMichael Williamson <mike@zwobble.org>2014-01-06 22:33:54 +0000
commita10c05a4ba2f3a26ec87c8b20aa54e1c00b3bb99 (patch)
treee5b6aa505f867745ef2337d17a6be32ff2ba7a5e /tests
parent723a7d54bd4823b2a9876fdea7b8b08cde74f669 (diff)
Remove test for uint8array
Diffstat (limited to 'tests')
-rw-r--r--tests/mammoth.tests.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js
index c78bc19..67b95f3 100644
--- a/tests/mammoth.tests.js
+++ b/tests/mammoth.tests.js
@@ -23,20 +23,6 @@ describe('mammoth', function() {
});
});
- test('should convert Uint8Array containing one paragraph to single p element', function() {
- var docxPath = path.join(__dirname, "test-data/single-paragraph.docx");
-
- return q.nfcall(fs.readFile, docxPath).then(function(buffer) {
- var array = new Uint8Array(buffer.length);
- for (var i = 0; i < buffer.length; i++) {
- array[i] = buffer[i];
- }
- return mammoth.convertToHtml({uint8Array: array}).then(function(result) {
- assert.equal("<p>Walking on imported air</p>", result.value);
- });
- });
- });
-
test('options are passed to document converter when creating Converter', function() {
var docxFile = createFakeDocxFile({
"word/document.xml": testData("simple/word/document.xml")