aboutsummaryrefslogblamecommitdiffstats
path: root/library/cropperjs/test/options/ready.js
blob: e09e8369c5fbf0cd11b1ade859d98386cc4f6aff (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                               
QUnit.test('options#ready', function (assert) {
  var done = assert.async();
  var util = window.Util;
  var image = util.createImage();

  assert.expect(1);

  return new Cropper(image, {
    ready: function () {
      assert.ok(true);

      done();
    }
  });
});