Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Importing phaser


Haobo
 Share

Recommended Posts

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...