{"action":"opened","issue":{"url":"https://api.github.com/repos/kenwheeler/cash/issues/90","repository_url":"https://api.github.com/repos/kenwheeler/cash","labels_url":"https://api.github.com/repos/kenwheeler/cash/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/kenwheeler/cash/issues/90/comments","events_url":"https://api.github.com/repos/kenwheeler/cash/issues/90/events","html_url":"https://github.com/kenwheeler/cash/issues/90","id":147925288,"number":90,"title":"Unit Tests","user":{"login":"simeydotme","id":2817396,"avatar_url":"https://avatars.githubusercontent.com/u/2817396?v=3","gravatar_id":"","url":"https://api.github.com/users/simeydotme","html_url":"https://github.com/simeydotme","followers_url":"https://api.github.com/users/simeydotme/followers","following_url":"https://api.github.com/users/simeydotme/following{/other_user}","gists_url":"https://api.github.com/users/simeydotme/gists{/gist_id}","starred_url":"https://api.github.com/users/simeydotme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simeydotme/subscriptions","organizations_url":"https://api.github.com/users/simeydotme/orgs","repos_url":"https://api.github.com/users/simeydotme/repos","events_url":"https://api.github.com/users/simeydotme/events{/privacy}","received_events_url":"https://api.github.com/users/simeydotme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-13T02:01:59Z","updated_at":"2016-04-13T02:01:59Z","closed_at":null,"body":"Hey @kenwheeler @shshaw @thejameskyle , I noticed that the unit tests , specifically for `toggleClass` and `hasClass` as I worked on them, seem to be a little lack-lustre... ( see here for the tests I wrote which were not copied: https://github.com/kenwheeler/cash/pull/47/files#diff-c1129c8b045390789fa8ff62f2c6b4a9R50 )\r\n\r\nI wonder if we should put a hold on adding / improving features until we've taken a run at improving testing... \r\n\r\nThe recent growth for this library has been great and it's basically the core of any app that uses it... I think it's important to have extensive test suite in the inevitable situation where a bug is raised we have trouble to crack down on 😄 \r\n\r\nI'll look at the class-related methods tonight ` and then spend some time to create a milestone/list if everyone else agrees we should take a look at the tests :)\r\n\r\nBest, Si.\r\n\r\n- [ ] `hasClass`\r\n- [ ] `toggleClass`"}}