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

  'use strict';

  var $image = $(window.createCropperImage());
  var minCanvasWidth = 160;

  $image.cropper({
    minCanvasWidth: minCanvasWidth,

    ready: function () {

      QUnit.test('options#minCanvasWidth', function (assert) {
        var data = $image.cropper('setCanvasData', {
              width: 80
            }).cropper('getCanvasData');

        assert.ok(Math.round(data.width) === minCanvasWidth);
      });

    }
  });

});