migrated unit tests to Mocha

This commit is contained in:
Eric Rowell
2013-09-08 21:36:54 -07:00
parent 1d586098dd
commit 400fae734d
18 changed files with 810 additions and 831 deletions

View File

@@ -3,7 +3,7 @@ suite('Sprite', function() {
test('add sprite', function(done) {
var imageObj = new Image();
imageObj.onload = function() {
var stage = buildStage();
var stage = addStage();
var layer = new Kinetic.Layer();
var anims = {