aboutsummaryrefslogtreecommitdiff
path: root/tests/document-to-html.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-06-28 20:58:49 +0100
committerMichael Williamson <mike@zwobble.org>2016-06-28 20:58:49 +0100
commitd046c4297a04b6eecadf01093382b72bb1b71032 (patch)
treed90fc8dde051f2dba93c41f77506f472269124ba /tests/document-to-html.tests.js
parentf557dc7de5fd0dff3a08808e7c4d9736970e6349 (diff)
Replace jshint with eslint
Diffstat (limited to 'tests/document-to-html.tests.js')
-rw-r--r--tests/document-to-html.tests.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/document-to-html.tests.js b/tests/document-to-html.tests.js
index ea0056f..10ea265 100644
--- a/tests/document-to-html.tests.js
+++ b/tests/document-to-html.tests.js
@@ -63,7 +63,7 @@ describe('DocumentConverter', function() {
test('uses style mappings to pick HTML element for docx paragraph', function() {
var document = new documents.Document([
- paragraphOfText("Hello.", "Heading1", "Heading 1"),
+ paragraphOfText("Hello.", "Heading1", "Heading 1")
]);
var converter = new DocumentConverter({
styleMap: [
@@ -80,7 +80,7 @@ describe('DocumentConverter', function() {
test('mappings for style names are case insensitive', function() {
var document = new documents.Document([
- paragraphOfText("Hello.", "Heading1", "heading 1"),
+ paragraphOfText("Hello.", "Heading1", "heading 1")
]);
var converter = new DocumentConverter({
styleMap: [
@@ -114,7 +114,7 @@ describe('DocumentConverter', function() {
test('warning is emitted if paragraph style is unrecognised', function() {
var document = new documents.Document([
- paragraphOfText("Hello.", "Heading1", "Heading 1"),
+ paragraphOfText("Hello.", "Heading1", "Heading 1")
]);
var converter = new DocumentConverter();
return converter.convertToHtml(document).then(function(result) {