aboutsummaryrefslogtreecommitdiff
path: root/test/images.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-08-28 19:55:24 +0100
committerMichael Williamson <mike@zwobble.org>2016-08-28 19:55:38 +0100
commitb1ae23f544c479d2b71347bbf67df7baac40d78f (patch)
tree383e694dae42ba544f690c3b0ab388a7931c0793 /test/images.tests.js
parent7dba15069f9a606b9e248d7e4cd024ddaa6ac3e3 (diff)
parentc42714e5f4b643de27b106a084601e39b7e5d04c (diff)
Merge branch 'master' into image-errors
Conflicts: test/mammoth.tests.js
Diffstat (limited to 'test/images.tests.js')
-rw-r--r--test/images.tests.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/images.tests.js b/test/images.tests.js
index 7aac5a2..7ba3ec9 100644
--- a/test/images.tests.js
+++ b/test/images.tests.js
@@ -2,12 +2,9 @@ var assert = require("assert");
var mammoth = require("../");
-var testing = require("./testing");
-var test = testing.test;
+var test = require("./test")(module);
-describe('images', function() {
- test('mammoth.images.inline() should be an alias of mammoth.images.imgElement()', function() {
- assert.ok(mammoth.images.inline === mammoth.images.imgElement);
- });
+test('mammoth.images.inline() should be an alias of mammoth.images.imgElement()', function() {
+ assert.ok(mammoth.images.inline === mammoth.images.imgElement);
});