aboutsummaryrefslogtreecommitdiff
path: root/tests/images.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-04-02 17:14:31 +0100
committerMichael Williamson <mike@zwobble.org>2016-04-02 17:14:31 +0100
commit6a4cc9231f219c0047272c56081f881eab800d74 (patch)
treea9631dfa47eb3db6a7060255e8b3042f3255756f /tests/images.tests.js
parent3afd698984f9ec3fcb9b16e5d6c12ea4a23dfb53 (diff)
Rename images.inline to images.imgElement
Diffstat (limited to 'tests/images.tests.js')
-rw-r--r--tests/images.tests.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/images.tests.js b/tests/images.tests.js
new file mode 100644
index 0000000..7aac5a2
--- /dev/null
+++ b/tests/images.tests.js
@@ -0,0 +1,13 @@
+var assert = require("assert");
+
+var mammoth = require("../");
+
+var testing = require("./testing");
+var test = testing.test;
+
+
+describe('images', function() {
+ test('mammoth.images.inline() should be an alias of mammoth.images.imgElement()', function() {
+ assert.ok(mammoth.images.inline === mammoth.images.imgElement);
+ });
+});