aboutsummaryrefslogtreecommitdiff
path: root/test/images.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-07-07 22:17:34 +0100
committerMichael Williamson <mike@zwobble.org>2016-07-07 22:17:34 +0100
commita080fc59a3fca08bdc6e23a2eeae440f5c7047b3 (patch)
tree3d56033c294c617eb7de6b693750efb70a81dd4f /test/images.tests.js
parent28a0e40b645c051d91626ca90959e847b061c8da (diff)
Use exports for all tests
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);
});