aboutsummaryrefslogtreecommitdiffstats
path: root/library/cropperjs/test/options/minCropBoxHeight.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/cropperjs/test/options/minCropBoxHeight.js')
-rw-r--r--library/cropperjs/test/options/minCropBoxHeight.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/library/cropperjs/test/options/minCropBoxHeight.js b/library/cropperjs/test/options/minCropBoxHeight.js
deleted file mode 100644
index ccf50aefe..000000000
--- a/library/cropperjs/test/options/minCropBoxHeight.js
+++ /dev/null
@@ -1,23 +0,0 @@
-QUnit.test('options#minCropBoxHeight', function (assert) {
- var done = assert.async();
- var util = window.Util;
- var image = util.createImage();
- var minCropBoxHeight = 150;
-
- assert.expect(1);
-
- return new Cropper(image, {
- minCropBoxHeight: minCropBoxHeight,
-
- ready: function () {
- var cropper = this.cropper;
- var cropBoxData = cropper.setCropBoxData({
- height: 100
- }).getCropBoxData();
-
- assert.strictEqual(Math.round(cropBoxData.height), minCropBoxHeight);
-
- done();
- }
- });
-});