DaRaFF / jsTetrisGameJs

Tetris clone with HTML5 canvas / javascript - i really like Tetris :-)
http://daraff.github.com/jsTetrisGameJs/dist/
4 stars 2 forks source link

refactor tests to asynchronous #13

Closed DaRaFF closed 12 years ago

DaRaFF commented 12 years ago

Actually the Jasmine BDD tests are not running over asynchronous calls with require.

Therefore I made some quirks: As soon as I use require() I have to test in the business classes, if the function require exists, thats not ideal.

Target: Refactor the tests to asynchronous mode.