RyanLinrm / CSC473Project

A HTML5 Game developing project
4 stars 4 forks source link

Need to create unit tests for load scene #164

Open hongjiehuang opened 5 years ago

hongjiehuang commented 5 years ago

I will try to write some unit tests for load scenes.

hongjiehuang commented 5 years ago

I have added some tests, but I have some problems calling the functions correctly from it, for example , the preload function, I am trying to solve it.

RyanLinrm commented 5 years ago

I think preload is method that belongs to phaser.Scene, maybe you can try to mock it

hongjiehuang commented 5 years ago

Tried, not work, you can help me fix,