rename unit-test

This commit is contained in:
Martin
2017-08-05 02:55:22 +02:00
parent 521b10c3ae
commit afe3528c29
2 changed files with 2 additions and 3 deletions
+10
View File
@@ -0,0 +1,10 @@
QUnit.module('ImageEditor');
QUnit.test('should load image', function( assert ) {
var done = assert.async();
var editor = new ImageEditor('canvas');
editor.loadImage('fixtures/dog.jpg', function() {
assert.ok(editor.canvas.getImage());
done();
});
});