{"action":"created","issue":{"url":"https://api.github.com/repos/18F/web-design-standards/issues/1156","repository_url":"https://api.github.com/repos/18F/web-design-standards","labels_url":"https://api.github.com/repos/18F/web-design-standards/issues/1156/labels{/name}","comments_url":"https://api.github.com/repos/18F/web-design-standards/issues/1156/comments","events_url":"https://api.github.com/repos/18F/web-design-standards/issues/1156/events","html_url":"https://github.com/18F/web-design-standards/issues/1156","id":154045302,"number":1156,"title":"Add Javascript testing","user":{"login":"msecret","id":1701077,"avatar_url":"https://avatars.githubusercontent.com/u/1701077?v=3","gravatar_id":"","url":"https://api.github.com/users/msecret","html_url":"https://github.com/msecret","followers_url":"https://api.github.com/users/msecret/followers","following_url":"https://api.github.com/users/msecret/following{/other_user}","gists_url":"https://api.github.com/users/msecret/gists{/gist_id}","starred_url":"https://api.github.com/users/msecret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msecret/subscriptions","organizations_url":"https://api.github.com/users/msecret/orgs","repos_url":"https://api.github.com/users/msecret/repos","events_url":"https://api.github.com/users/msecret/events{/privacy}","received_events_url":"https://api.github.com/users/msecret/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/18F/web-design-standards/milestones/13","html_url":"https://github.com/18F/web-design-standards/milestones/Clean,%20semantic%20code","labels_url":"https://api.github.com/repos/18F/web-design-standards/milestones/13/labels","id":1654544,"number":13,"title":"Clean, semantic code","description":"","creator":{"login":"jpyuda","id":552095,"avatar_url":"https://avatars.githubusercontent.com/u/552095?v=3","gravatar_id":"","url":"https://api.github.com/users/jpyuda","html_url":"https://github.com/jpyuda","followers_url":"https://api.github.com/users/jpyuda/followers","following_url":"https://api.github.com/users/jpyuda/following{/other_user}","gists_url":"https://api.github.com/users/jpyuda/gists{/gist_id}","starred_url":"https://api.github.com/users/jpyuda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpyuda/subscriptions","organizations_url":"https://api.github.com/users/jpyuda/orgs","repos_url":"https://api.github.com/users/jpyuda/repos","events_url":"https://api.github.com/users/jpyuda/events{/privacy}","received_events_url":"https://api.github.com/users/jpyuda/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":0,"state":"open","created_at":"2016-03-18T23:12:51Z","updated_at":"2016-05-10T16:06:25Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-05-10T16:06:25Z","updated_at":"2016-05-10T17:09:47Z","closed_at":null,"body":"In order for contributors to know when they've broken JS functionality, there should be a suite of tests for the whole JS codebase.\r\n\r\nAcceptance criteria\r\n- [ ] The tests should fail if some DOM functionality is broken, such as a selector being wrong.\r\n- [ ] The tests should run with the `npm run test` command.\r\n- [ ] The tests should be runnable on circle or travis CI.\r\n- [ ] The tests should be repeatable and stateless."},"comment":{"url":"https://api.github.com/repos/18F/web-design-standards/issues/comments/218225327","html_url":"https://github.com/18F/web-design-standards/issues/1156#issuecomment-218225327","issue_url":"https://api.github.com/repos/18F/web-design-standards/issues/1156","id":218225327,"user":{"login":"el-mapache","id":1421848,"avatar_url":"https://avatars.githubusercontent.com/u/1421848?v=3","gravatar_id":"","url":"https://api.github.com/users/el-mapache","html_url":"https://github.com/el-mapache","followers_url":"https://api.github.com/users/el-mapache/followers","following_url":"https://api.github.com/users/el-mapache/following{/other_user}","gists_url":"https://api.github.com/users/el-mapache/gists{/gist_id}","starred_url":"https://api.github.com/users/el-mapache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/el-mapache/subscriptions","organizations_url":"https://api.github.com/users/el-mapache/orgs","repos_url":"https://api.github.com/users/el-mapache/repos","events_url":"https://api.github.com/users/el-mapache/events{/privacy}","received_events_url":"https://api.github.com/users/el-mapache/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T17:09:47Z","updated_at":"2016-05-10T17:09:47Z","body":"Based on the acceptance criteria, it sounds like this request is more about writing end-to-end tests to ensure the page behaves the way we expect it to. Does that seem right? We should open a separate issue, I think, to write unit tests for the individual JS components. Let me know what ya'll think of that!"}}