Skip to content

Conversation

eric-hu
Copy link
Contributor

@eric-hu eric-hu commented Aug 3, 2015

I tried to run the JS test suite, but Testacular has been renamed to Karma, and Karma didn't run with the base testacular.conf.js file out of the box from npm. Complaining with:

03 08 2015 21:18:51.497:ERROR [config]: Invalid config file!
  ReferenceError: JASMINE is not defined

eric-hu added 2 commits August 3, 2015 21:19
Reduce noise in code coverage output.  All spec files are run 100% in
the test suite.  This lowers the overall code coverage number...sorry :D
@eric-hu
Copy link
Contributor Author

eric-hu commented Aug 3, 2015

Adapting this change to non 1v1 games might be similar. The AI names have an index, i.e. A.I. (Elite) 1, but I don't know if this index ordering matches the AI ordering in the GGTracker Angular data structures.

dsjoerg added a commit that referenced this pull request Aug 3, 2015
Display units in comparison graph for 1v1 AI
@dsjoerg dsjoerg merged commit 51e9174 into dsjoerg:master Aug 3, 2015
@dsjoerg
Copy link
Owner

dsjoerg commented Aug 3, 2015

Looks good Eric!

The JS test suite never worked, the guy who put it in never got it working properly, probably the best thing to do at this point would be to remove it.

Do you want to add more vs-AI related functionality before I push this into production? Or is this ready to go?

@eric-hu
Copy link
Contributor Author

eric-hu commented Aug 4, 2015

Ah, understood. This is a good time to push. I haven't looked into what it'll take to get the charts displaying for vs-AI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants