diff options
Diffstat (limited to 'library/cropperjs/test/methods/moveTo.js')
-rw-r--r-- | library/cropperjs/test/methods/moveTo.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/library/cropperjs/test/methods/moveTo.js b/library/cropperjs/test/methods/moveTo.js deleted file mode 100644 index e8bf0eebd..000000000 --- a/library/cropperjs/test/methods/moveTo.js +++ /dev/null @@ -1,19 +0,0 @@ -QUnit.test('methods#moveTo', function (assert) { - var done = assert.async(); - var util = window.Util; - var image = util.createImage(); - - assert.expect(2); - - return new Cropper(image, { - ready: function () { - var cropper = this.cropper; - var canvasData = cropper.moveTo(0, 0).getCanvasData(); - - assert.strictEqual(canvasData.left, 0); - assert.strictEqual(canvasData.top, 0); - - done(); - } - }); -}); |