kgisl / FCC-Status

A counter to keep track of challenges completed during a FCC meetup
3 stars 5 forks source link

`data` not defined error due to ajax call in the test case #22

Open kgashok opened 8 years ago

kgashok commented 8 years ago

This needs to be fixed. Maybe this will help http://code.tutsplus.com/tutorials/how-to-test-your-javascript-code-with-qunit--net-9077; and http://blog.trackets.com/2014/09/24/unit-testing-javascript-with-qunit.html

thoroughly read up on https://www.npmjs.com/package/grunt-croc-qunit