Haobo Posted May 6, 2018 Share Posted May 6, 2018 Wanted to do some unit testing of some functions but I can't figure out how to have phaser come up as defined. I'm using jasmine to run the test and using the command line, you can't reference the js file. When I tried to import phaser-ce, it will throw an error saying that PIXI is not defined. Is there a way to get around this so that you can test functions inside extended classes? Link to comment Share on other sites More sharing options...
Recommended Posts