I’m running the JS flavor of cocos2d-x. Further, I’m writing my code in es6, and using a build step to compile down to es5. And my test runner is Ava.
When Ava gets around to running my application code, it encounters me using the “cc” global I’m using for the Cocos apis, and it doesn’t know what to do with that.
Any thoughts? Should I be importing “cc” explicitly? Should I be telling Ava about “cc” somehow?