aboutsummaryrefslogtreecommitdiff
path: root/tests/mammoth.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-07-08 10:25:57 +0100
committerMichael Williamson <mike@zwobble.org>2014-07-08 10:25:57 +0100
commit472cd053aab1432d19f9deebb6141567bbe91ff6 (patch)
tree2d328353ebd0947e8007267592e45bdd0d879730 /tests/mammoth.tests.js
parent40fc65d1f2874eb707a4fb4e93c4a66ccd59f850 (diff)
Use jshint and fix errors
Diffstat (limited to 'tests/mammoth.tests.js')
-rw-r--r--tests/mammoth.tests.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js
index 11f4fc6..6d7125d 100644
--- a/tests/mammoth.tests.js
+++ b/tests/mammoth.tests.js
@@ -4,7 +4,7 @@ var fs = require("fs");
var promises = require("../lib/promises");
-var mammoth = require("../")
+var mammoth = require("../");
var htmlPaths = require("../lib/html-paths");
var documentMatchers = require("../lib/document-matchers");
@@ -113,7 +113,7 @@ describe('mammoth', function() {
'<sup><a href="#footnote-42-1" id="footnote-ref-42-1">[1]</a></sup>.' +
'<sup><a href="#footnote-42-2" id="footnote-ref-42-2">[2]</a></sup></p>' +
'<ol><li id="footnote-42-1"><p> A tachyon walks into a bar. <a href="#footnote-ref-42-1">↑</a></p></li>' +
- '<li id="footnote-42-2"><p> Fin. <a href="#footnote-ref-42-2">↑</a></p></li></ol>'
+ '<li id="footnote-42-2"><p> Fin. <a href="#footnote-ref-42-2">↑</a></p></li></ol>';
assert.equal(result.value, expectedOutput);
// TODO: get rid of warnings
//~ assert.deepEqual(result.messages, []);
@@ -130,7 +130,7 @@ describe('mammoth', function() {
test('using styleMapping throws error', function() {
try {
- mammoth.styleMapping()
+ mammoth.styleMapping();
} catch (error) {
assert.equal(
error.message,
@@ -145,4 +145,4 @@ describe('mammoth', function() {
assert.equal(result.value, 'Apple\n\nBanana\n\n');
});
});
-})
+});