mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 15:48:11 -05:00
Tweaked the most recent tests.
This commit is contained in:
parent
9ba11e2354
commit
9343d1e645
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ describe 'WebGLSprite', ->
|
|||
webGLSprite = null
|
||||
|
||||
showMe = ->
|
||||
canvas = $('<canvas width="600" height="400"></canvas>').css('position', 'absolute').css('index', 1000)#.css('background', 'white')
|
||||
canvas = $('<canvas width="600" height="400"></canvas>').css('position', 'absolute').css('index', 1000).css('background', 'white')
|
||||
$('body').append(canvas)
|
||||
stage = new createjs.SpriteStage(canvas[0])
|
||||
stage.addChild(webGLSprite)
|
||||
|
@ -102,4 +102,4 @@ describe 'WebGLSprite', ->
|
|||
expect(webGLSprite.baseMovieClip.currentFrame).toBe(expectedFrame)
|
||||
for child in webGLSprite.childSpriteContainers
|
||||
expect(child.movieClip.currentFrame).toBe(expectedFrame)
|
||||
showMe()
|
||||
|
||||
|
|
Loading…
Reference in a new issue