From a080fc59a3fca08bdc6e23a2eeae440f5c7047b3 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 7 Jul 2016 22:17:34 +0100 Subject: Use exports for all tests --- test/images.tests.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'test/images.tests.js') 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); }); -- cgit v1.2.3