Jump to content

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...