/home/mip/mip/public/template/AdminLTE/plugins/cropper-master/test/options/minCanvasHeight.js
$(function () {

  'use strict';

  var $image = $(window.createCropperImage());
  var minCanvasHeight = 90;

  $image.cropper({
    minCanvasHeight: minCanvasHeight,

    ready: function () {

      QUnit.test('options#minCanvasHeight', function (assert) {
        var data = $image.cropper('setCanvasData', {
              height: 45
            }).cropper('getCanvasData');

        assert.ok(Math.round(data.height) === minCanvasHeight);
      });

    }
  });

});