{"action":"closed","number":256,"pull_request":{"url":"https://api.github.com/repos/caktus/django-project-template/pulls/256","id":65186169,"html_url":"https://github.com/caktus/django-project-template/pull/256","diff_url":"https://github.com/caktus/django-project-template/pull/256.diff","patch_url":"https://github.com/caktus/django-project-template/pull/256.patch","issue_url":"https://api.github.com/repos/caktus/django-project-template/issues/256","number":256,"state":"closed","locked":false,"title":"Frontend test framework","user":{"login":"nmashton","id":1625749,"avatar_url":"https://avatars.githubusercontent.com/u/1625749?v=3","gravatar_id":"","url":"https://api.github.com/users/nmashton","html_url":"https://github.com/nmashton","followers_url":"https://api.github.com/users/nmashton/followers","following_url":"https://api.github.com/users/nmashton/following{/other_user}","gists_url":"https://api.github.com/users/nmashton/gists{/gist_id}","starred_url":"https://api.github.com/users/nmashton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmashton/subscriptions","organizations_url":"https://api.github.com/users/nmashton/orgs","repos_url":"https://api.github.com/users/nmashton/repos","events_url":"https://api.github.com/users/nmashton/events{/privacy}","received_events_url":"https://api.github.com/users/nmashton/received_events","type":"User","site_admin":false},"body":"A set of updates to the front-end stack aspect of the project template, with a special emphasis on our front-end JS testing setup.\r\n\r\nThe star of the show is an addition to the `gulpfile.js`, the `test` task, which runs JS tests defined in the `/test` subdir of the JS static files on the modules found in the `/app` subdir, using the [Mocha](http://mochajs.org) test framework and the [isparta](https://www.npmjs.com/package/isparta) ES6 coverage tool. Tests are run after [`jsdom-global/register`](https://github.com/rstacruz/jsdom-global), which creates a fake DOM for `document`-using tests to hit (e.g. tests of React components).\r\n\r\nThe new `package.json` dependencies reflect these additions; they also reflect the decision to include the Facebook front-end stack of [React](https://facebook.github.io/react/), [Flux](https://facebook.github.io/react/blog/2014/05/06/flux.html), and [Immutable](https://facebook.github.io/immutable-js/) in future projects.\r\n\r\nThis also updates `project.travis.yml` to install the correct version of Node and install Node dependencies when using Travis CI.","created_at":"2016-04-04T17:57:11Z","updated_at":"2016-04-06T14:40:30Z","closed_at":"2016-04-06T14:40:30Z","merged_at":"2016-04-06T14:40:30Z","merge_commit_sha":"052bebe962f332259d09aff84a64c1d620e40d7f","assignee":{"login":"ironfroggy","id":34982,"avatar_url":"https://avatars.githubusercontent.com/u/34982?v=3","gravatar_id":"","url":"https://api.github.com/users/ironfroggy","html_url":"https://github.com/ironfroggy","followers_url":"https://api.github.com/users/ironfroggy/followers","following_url":"https://api.github.com/users/ironfroggy/following{/other_user}","gists_url":"https://api.github.com/users/ironfroggy/gists{/gist_id}","starred_url":"https://api.github.com/users/ironfroggy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironfroggy/subscriptions","organizations_url":"https://api.github.com/users/ironfroggy/orgs","repos_url":"https://api.github.com/users/ironfroggy/repos","events_url":"https://api.github.com/users/ironfroggy/events{/privacy}","received_events_url":"https://api.github.com/users/ironfroggy/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/caktus/django-project-template/pulls/256/commits","review_comments_url":"https://api.github.com/repos/caktus/django-project-template/pulls/256/comments","review_comment_url":"https://api.github.com/repos/caktus/django-project-template/pulls/comments{/number}","comments_url":"https://api.github.com/repos/caktus/django-project-template/issues/256/comments","statuses_url":"https://api.github.com/repos/caktus/django-project-template/statuses/75d504b82b988cc648a89468e2507c26d5590079","head":{"label":"caktus:frontend-test-framework","ref":"frontend-test-framework","sha":"75d504b82b988cc648a89468e2507c26d5590079","user":{"login":"caktus","id":242157,"avatar_url":"https://avatars.githubusercontent.com/u/242157?v=3","gravatar_id":"","url":"https://api.github.com/users/caktus","html_url":"https://github.com/caktus","followers_url":"https://api.github.com/users/caktus/followers","following_url":"https://api.github.com/users/caktus/following{/other_user}","gists_url":"https://api.github.com/users/caktus/gists{/gist_id}","starred_url":"https://api.github.com/users/caktus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caktus/subscriptions","organizations_url":"https://api.github.com/users/caktus/orgs","repos_url":"https://api.github.com/users/caktus/repos","events_url":"https://api.github.com/users/caktus/events{/privacy}","received_events_url":"https://api.github.com/users/caktus/received_events","type":"Organization","site_admin":false},"repo":{"id":4119390,"name":"django-project-template","full_name":"caktus/django-project-template","owner":{"login":"caktus","id":242157,"avatar_url":"https://avatars.githubusercontent.com/u/242157?v=3","gravatar_id":"","url":"https://api.github.com/users/caktus","html_url":"https://github.com/caktus","followers_url":"https://api.github.com/users/caktus/followers","following_url":"https://api.github.com/users/caktus/following{/other_user}","gists_url":"https://api.github.com/users/caktus/gists{/gist_id}","starred_url":"https://api.github.com/users/caktus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caktus/subscriptions","organizations_url":"https://api.github.com/users/caktus/orgs","repos_url":"https://api.github.com/users/caktus/repos","events_url":"https://api.github.com/users/caktus/events{/privacy}","received_events_url":"https://api.github.com/users/caktus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caktus/django-project-template","description":"Django project template for startproject (Requires 1.8+)","fork":false,"url":"https://api.github.com/repos/caktus/django-project-template","forks_url":"https://api.github.com/repos/caktus/django-project-template/forks","keys_url":"https://api.github.com/repos/caktus/django-project-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caktus/django-project-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caktus/django-project-template/teams","hooks_url":"https://api.github.com/repos/caktus/django-project-template/hooks","issue_events_url":"https://api.github.com/repos/caktus/django-project-template/issues/events{/number}","events_url":"https://api.github.com/repos/caktus/django-project-template/events","assignees_url":"https://api.github.com/repos/caktus/django-project-template/assignees{/user}","branches_url":"https://api.github.com/repos/caktus/django-project-template/branches{/branch}","tags_url":"https://api.github.com/repos/caktus/django-project-template/tags","blobs_url":"https://api.github.com/repos/caktus/django-project-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caktus/django-project-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caktus/django-project-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/caktus/django-project-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caktus/django-project-template/statuses/{sha}","languages_url":"https://api.github.com/repos/caktus/django-project-template/languages","stargazers_url":"https://api.github.com/repos/caktus/django-project-template/stargazers","contributors_url":"https://api.github.com/repos/caktus/django-project-template/contributors","subscribers_url":"https://api.github.com/repos/caktus/django-project-template/subscribers","subscription_url":"https://api.github.com/repos/caktus/django-project-template/subscription","commits_url":"https://api.github.com/repos/caktus/django-project-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/caktus/django-project-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/caktus/django-project-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/caktus/django-project-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/caktus/django-project-template/contents/{+path}","compare_url":"https://api.github.com/repos/caktus/django-project-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caktus/django-project-template/merges","archive_url":"https://api.github.com/repos/caktus/django-project-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caktus/django-project-template/downloads","issues_url":"https://api.github.com/repos/caktus/django-project-template/issues{/number}","pulls_url":"https://api.github.com/repos/caktus/django-project-template/pulls{/number}","milestones_url":"https://api.github.com/repos/caktus/django-project-template/milestones{/number}","notifications_url":"https://api.github.com/repos/caktus/django-project-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caktus/django-project-template/labels{/name}","releases_url":"https://api.github.com/repos/caktus/django-project-template/releases{/id}","deployments_url":"https://api.github.com/repos/caktus/django-project-template/deployments","created_at":"2012-04-24T00:01:32Z","updated_at":"2016-03-25T15:58:12Z","pushed_at":"2016-04-06T14:40:30Z","git_url":"git://github.com/caktus/django-project-template.git","ssh_url":"git@github.com:caktus/django-project-template.git","clone_url":"https://github.com/caktus/django-project-template.git","svn_url":"https://github.com/caktus/django-project-template","homepage":"","size":1609,"stargazers_count":98,"watchers_count":98,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":25,"forks":35,"open_issues":25,"watchers":98,"default_branch":"master"}},"base":{"label":"caktus:master","ref":"master","sha":"83fc8765036afb380063e433b37731d828be5232","user":{"login":"caktus","id":242157,"avatar_url":"https://avatars.githubusercontent.com/u/242157?v=3","gravatar_id":"","url":"https://api.github.com/users/caktus","html_url":"https://github.com/caktus","followers_url":"https://api.github.com/users/caktus/followers","following_url":"https://api.github.com/users/caktus/following{/other_user}","gists_url":"https://api.github.com/users/caktus/gists{/gist_id}","starred_url":"https://api.github.com/users/caktus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caktus/subscriptions","organizations_url":"https://api.github.com/users/caktus/orgs","repos_url":"https://api.github.com/users/caktus/repos","events_url":"https://api.github.com/users/caktus/events{/privacy}","received_events_url":"https://api.github.com/users/caktus/received_events","type":"Organization","site_admin":false},"repo":{"id":4119390,"name":"django-project-template","full_name":"caktus/django-project-template","owner":{"login":"caktus","id":242157,"avatar_url":"https://avatars.githubusercontent.com/u/242157?v=3","gravatar_id":"","url":"https://api.github.com/users/caktus","html_url":"https://github.com/caktus","followers_url":"https://api.github.com/users/caktus/followers","following_url":"https://api.github.com/users/caktus/following{/other_user}","gists_url":"https://api.github.com/users/caktus/gists{/gist_id}","starred_url":"https://api.github.com/users/caktus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caktus/subscriptions","organizations_url":"https://api.github.com/users/caktus/orgs","repos_url":"https://api.github.com/users/caktus/repos","events_url":"https://api.github.com/users/caktus/events{/privacy}","received_events_url":"https://api.github.com/users/caktus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caktus/django-project-template","description":"Django project template for startproject (Requires 1.8+)","fork":false,"url":"https://api.github.com/repos/caktus/django-project-template","forks_url":"https://api.github.com/repos/caktus/django-project-template/forks","keys_url":"https://api.github.com/repos/caktus/django-project-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caktus/django-project-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caktus/django-project-template/teams","hooks_url":"https://api.github.com/repos/caktus/django-project-template/hooks","issue_events_url":"https://api.github.com/repos/caktus/django-project-template/issues/events{/number}","events_url":"https://api.github.com/repos/caktus/django-project-template/events","assignees_url":"https://api.github.com/repos/caktus/django-project-template/assignees{/user}","branches_url":"https://api.github.com/repos/caktus/django-project-template/branches{/branch}","tags_url":"https://api.github.com/repos/caktus/django-project-template/tags","blobs_url":"https://api.github.com/repos/caktus/django-project-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caktus/django-project-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caktus/django-project-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/caktus/django-project-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caktus/django-project-template/statuses/{sha}","languages_url":"https://api.github.com/repos/caktus/django-project-template/languages","stargazers_url":"https://api.github.com/repos/caktus/django-project-template/stargazers","contributors_url":"https://api.github.com/repos/caktus/django-project-template/contributors","subscribers_url":"https://api.github.com/repos/caktus/django-project-template/subscribers","subscription_url":"https://api.github.com/repos/caktus/django-project-template/subscription","commits_url":"https://api.github.com/repos/caktus/django-project-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/caktus/django-project-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/caktus/django-project-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/caktus/django-project-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/caktus/django-project-template/contents/{+path}","compare_url":"https://api.github.com/repos/caktus/django-project-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caktus/django-project-template/merges","archive_url":"https://api.github.com/repos/caktus/django-project-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caktus/django-project-template/downloads","issues_url":"https://api.github.com/repos/caktus/django-project-template/issues{/number}","pulls_url":"https://api.github.com/repos/caktus/django-project-template/pulls{/number}","milestones_url":"https://api.github.com/repos/caktus/django-project-template/milestones{/number}","notifications_url":"https://api.github.com/repos/caktus/django-project-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caktus/django-project-template/labels{/name}","releases_url":"https://api.github.com/repos/caktus/django-project-template/releases{/id}","deployments_url":"https://api.github.com/repos/caktus/django-project-template/deployments","created_at":"2012-04-24T00:01:32Z","updated_at":"2016-03-25T15:58:12Z","pushed_at":"2016-04-06T14:40:30Z","git_url":"git://github.com/caktus/django-project-template.git","ssh_url":"git@github.com:caktus/django-project-template.git","clone_url":"https://github.com/caktus/django-project-template.git","svn_url":"https://github.com/caktus/django-project-template","homepage":"","size":1609,"stargazers_count":98,"watchers_count":98,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":25,"forks":35,"open_issues":25,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/caktus/django-project-template/pulls/256"},"html":{"href":"https://github.com/caktus/django-project-template/pull/256"},"issue":{"href":"https://api.github.com/repos/caktus/django-project-template/issues/256"},"comments":{"href":"https://api.github.com/repos/caktus/django-project-template/issues/256/comments"},"review_comments":{"href":"https://api.github.com/repos/caktus/django-project-template/pulls/256/comments"},"review_comment":{"href":"https://api.github.com/repos/caktus/django-project-template/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/caktus/django-project-template/pulls/256/commits"},"statuses":{"href":"https://api.github.com/repos/caktus/django-project-template/statuses/75d504b82b988cc648a89468e2507c26d5590079"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nmashton","id":1625749,"avatar_url":"https://avatars.githubusercontent.com/u/1625749?v=3","gravatar_id":"","url":"https://api.github.com/users/nmashton","html_url":"https://github.com/nmashton","followers_url":"https://api.github.com/users/nmashton/followers","following_url":"https://api.github.com/users/nmashton/following{/other_user}","gists_url":"https://api.github.com/users/nmashton/gists{/gist_id}","starred_url":"https://api.github.com/users/nmashton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmashton/subscriptions","organizations_url":"https://api.github.com/users/nmashton/orgs","repos_url":"https://api.github.com/users/nmashton/repos","events_url":"https://api.github.com/users/nmashton/events{/privacy}","received_events_url":"https://api.github.com/users/nmashton/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":9,"additions":96,"deletions":10,"changed_files":6}}