{"action":"created","comment":{"url":"https://api.github.com/repos/groupby/flux-capacitor/pulls/comments/124104021","pull_request_review_id":46364943,"id":124104021,"diff_hunk":"@@ -27,4 +45,64 @@ suite('Store', ({ expect, stub }) => {\n       })(originalAction);\n     });\n   });\n+\n+  describe('Store', () => {\n+    describe('create()', () => {\n+      afterEach(() => delete process.env.NODE_ENV);\n+\n+      it('should create a store using middleware and initialState', () => {\n+        const config: any = { a: 'b' };\n+        const state = { c: 'd' };\n+        const middleware = ['e', 'f', 'g'];\n+        const storeInstance = { h: 'i' };\n+        const initialState = stub(Adapter, 'initialState').returns(state);\n+        const applyMiddleware = stub(redux, 'applyMiddleware').returns(middleware);\n+        const createStore = stub(redux, 'createStore').returns(storeInstance);\n+\n+        const store = Store.create(config);\n+\n+        expect(store).to.eq(storeInstance);\n+        expect(initialState).to.be.calledWith(config);\n+        expect(applyMiddleware).to.be.calledWithExactly(thunkMiddleware, sinon.match.func, sinon.match.func);","path":"test/unit/core/store.ts","position":64,"original_position":64,"commit_id":"83e451b218b5db876d8dac60f32a0b8ce0dee445","original_commit_id":"8a2d415604d460e68e0542c440eca7ca7891333f","user":{"login":"Vic-Dev","id":16169471,"avatar_url":"https://avatars3.githubusercontent.com/u/16169471?v=3","gravatar_id":"","url":"https://api.github.com/users/Vic-Dev","html_url":"https://github.com/Vic-Dev","followers_url":"https://api.github.com/users/Vic-Dev/followers","following_url":"https://api.github.com/users/Vic-Dev/following{/other_user}","gists_url":"https://api.github.com/users/Vic-Dev/gists{/gist_id}","starred_url":"https://api.github.com/users/Vic-Dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vic-Dev/subscriptions","organizations_url":"https://api.github.com/users/Vic-Dev/orgs","repos_url":"https://api.github.com/users/Vic-Dev/repos","events_url":"https://api.github.com/users/Vic-Dev/events{/privacy}","received_events_url":"https://api.github.com/users/Vic-Dev/received_events","type":"User","site_admin":false},"body":"yeah true","created_at":"2017-06-26T19:53:43Z","updated_at":"2017-06-26T19:53:43Z","html_url":"https://github.com/groupby/flux-capacitor/pull/23#discussion_r124104021","pull_request_url":"https://api.github.com/repos/groupby/flux-capacitor/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/groupby/flux-capacitor/pulls/comments/124104021"},"html":{"href":"https://github.com/groupby/flux-capacitor/pull/23#discussion_r124104021"},"pull_request":{"href":"https://api.github.com/repos/groupby/flux-capacitor/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/groupby/flux-capacitor/pulls/23","id":127046106,"html_url":"https://github.com/groupby/flux-capacitor/pull/23","diff_url":"https://github.com/groupby/flux-capacitor/pull/23.diff","patch_url":"https://github.com/groupby/flux-capacitor/pull/23.patch","issue_url":"https://api.github.com/repos/groupby/flux-capacitor/issues/23","number":23,"state":"open","locked":false,"title":"BBD-585: bind tag metadata to action creators for use in tracking info","user":{"login":"effervescentia","id":3784470,"avatar_url":"https://avatars1.githubusercontent.com/u/3784470?v=3","gravatar_id":"","url":"https://api.github.com/users/effervescentia","html_url":"https://github.com/effervescentia","followers_url":"https://api.github.com/users/effervescentia/followers","following_url":"https://api.github.com/users/effervescentia/following{/other_user}","gists_url":"https://api.github.com/users/effervescentia/gists{/gist_id}","starred_url":"https://api.github.com/users/effervescentia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/effervescentia/subscriptions","organizations_url":"https://api.github.com/users/effervescentia/orgs","repos_url":"https://api.github.com/users/effervescentia/repos","events_url":"https://api.github.com/users/effervescentia/events{/privacy}","received_events_url":"https://api.github.com/users/effervescentia/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-22T17:28:21Z","updated_at":"2017-06-26T19:53:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"672e309516110f30109896fe20e7bd312af0d1c8","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/groupby/flux-capacitor/pulls/23/commits","review_comments_url":"https://api.github.com/repos/groupby/flux-capacitor/pulls/23/comments","review_comment_url":"https://api.github.com/repos/groupby/flux-capacitor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/groupby/flux-capacitor/issues/23/comments","statuses_url":"https://api.github.com/repos/groupby/flux-capacitor/statuses/83e451b218b5db876d8dac60f32a0b8ce0dee445","head":{"label":"groupby:BBD-585","ref":"BBD-585","sha":"83e451b218b5db876d8dac60f32a0b8ce0dee445","user":{"login":"groupby","id":2799385,"avatar_url":"https://avatars0.githubusercontent.com/u/2799385?v=3","gravatar_id":"","url":"https://api.github.com/users/groupby","html_url":"https://github.com/groupby","followers_url":"https://api.github.com/users/groupby/followers","following_url":"https://api.github.com/users/groupby/following{/other_user}","gists_url":"https://api.github.com/users/groupby/gists{/gist_id}","starred_url":"https://api.github.com/users/groupby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groupby/subscriptions","organizations_url":"https://api.github.com/users/groupby/orgs","repos_url":"https://api.github.com/users/groupby/repos","events_url":"https://api.github.com/users/groupby/events{/privacy}","received_events_url":"https://api.github.com/users/groupby/received_events","type":"Organization","site_admin":false},"repo":{"id":90884627,"name":"flux-capacitor","full_name":"groupby/flux-capacitor","owner":{"login":"groupby","id":2799385,"avatar_url":"https://avatars0.githubusercontent.com/u/2799385?v=3","gravatar_id":"","url":"https://api.github.com/users/groupby","html_url":"https://github.com/groupby","followers_url":"https://api.github.com/users/groupby/followers","following_url":"https://api.github.com/users/groupby/following{/other_user}","gists_url":"https://api.github.com/users/groupby/gists{/gist_id}","starred_url":"https://api.github.com/users/groupby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groupby/subscriptions","organizations_url":"https://api.github.com/users/groupby/orgs","repos_url":"https://api.github.com/users/groupby/repos","events_url":"https://api.github.com/users/groupby/events{/privacy}","received_events_url":"https://api.github.com/users/groupby/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/groupby/flux-capacitor","description":"State management for StoreFront","fork":false,"url":"https://api.github.com/repos/groupby/flux-capacitor","forks_url":"https://api.github.com/repos/groupby/flux-capacitor/forks","keys_url":"https://api.github.com/repos/groupby/flux-capacitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/groupby/flux-capacitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/groupby/flux-capacitor/teams","hooks_url":"https://api.github.com/repos/groupby/flux-capacitor/hooks","issue_events_url":"https://api.github.com/repos/groupby/flux-capacitor/issues/events{/number}","events_url":"https://api.github.com/repos/groupby/flux-capacitor/events","assignees_url":"https://api.github.com/repos/groupby/flux-capacitor/assignees{/user}","branches_url":"https://api.github.com/repos/groupby/flux-capacitor/branches{/branch}","tags_url":"https://api.github.com/repos/groupby/flux-capacitor/tags","blobs_url":"https://api.github.com/repos/groupby/flux-capacitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/groupby/flux-capacitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/groupby/flux-capacitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/groupby/flux-capacitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/groupby/flux-capacitor/statuses/{sha}","languages_url":"https://api.github.com/repos/groupby/flux-capacitor/languages","stargazers_url":"https://api.github.com/repos/groupby/flux-capacitor/stargazers","contributors_url":"https://api.github.com/repos/groupby/flux-capacitor/contributors","subscribers_url":"https://api.github.com/repos/groupby/flux-capacitor/subscribers","subscription_url":"https://api.github.com/repos/groupby/flux-capacitor/subscription","commits_url":"https://api.github.com/repos/groupby/flux-capacitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/groupby/flux-capacitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/groupby/flux-capacitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/groupby/flux-capacitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/groupby/flux-capacitor/contents/{+path}","compare_url":"https://api.github.com/repos/groupby/flux-capacitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/groupby/flux-capacitor/merges","archive_url":"https://api.github.com/repos/groupby/flux-capacitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/groupby/flux-capacitor/downloads","issues_url":"https://api.github.com/repos/groupby/flux-capacitor/issues{/number}","pulls_url":"https://api.github.com/repos/groupby/flux-capacitor/pulls{/number}","milestones_url":"https://api.github.com/repos/groupby/flux-capacitor/milestones{/number}","notifications_url":"https://api.github.com/repos/groupby/flux-capacitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/groupby/flux-capacitor/labels{/name}","releases_url":"https://api.github.com/repos/groupby/flux-capacitor/releases{/id}","deployments_url":"https://api.github.com/repos/groupby/flux-capacitor/deployments","created_at":"2017-05-10T16:17:15Z","updated_at":"2017-05-11T13:55:19Z","pushed_at":"2017-06-26T19:46:57Z","git_url":"git://github.com/groupby/flux-capacitor.git","ssh_url":"git@github.com:groupby/flux-capacitor.git","clone_url":"https://github.com/groupby/flux-capacitor.git","svn_url":"https://github.com/groupby/flux-capacitor","homepage":null,"size":235,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"groupby:master","ref":"master","sha":"9952f1ed4c2e15853af34684dd0e43eebf90eea0","user":{"login":"groupby","id":2799385,"avatar_url":"https://avatars0.githubusercontent.com/u/2799385?v=3","gravatar_id":"","url":"https://api.github.com/users/groupby","html_url":"https://github.com/groupby","followers_url":"https://api.github.com/users/groupby/followers","following_url":"https://api.github.com/users/groupby/following{/other_user}","gists_url":"https://api.github.com/users/groupby/gists{/gist_id}","starred_url":"https://api.github.com/users/groupby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groupby/subscriptions","organizations_url":"https://api.github.com/users/groupby/orgs","repos_url":"https://api.github.com/users/groupby/repos","events_url":"https://api.github.com/users/groupby/events{/privacy}","received_events_url":"https://api.github.com/users/groupby/received_events","type":"Organization","site_admin":false},"repo":{"id":90884627,"name":"flux-capacitor","full_name":"groupby/flux-capacitor","owner":{"login":"groupby","id":2799385,"avatar_url":"https://avatars0.githubusercontent.com/u/2799385?v=3","gravatar_id":"","url":"https://api.github.com/users/groupby","html_url":"https://github.com/groupby","followers_url":"https://api.github.com/users/groupby/followers","following_url":"https://api.github.com/users/groupby/following{/other_user}","gists_url":"https://api.github.com/users/groupby/gists{/gist_id}","starred_url":"https://api.github.com/users/groupby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groupby/subscriptions","organizations_url":"https://api.github.com/users/groupby/orgs","repos_url":"https://api.github.com/users/groupby/repos","events_url":"https://api.github.com/users/groupby/events{/privacy}","received_events_url":"https://api.github.com/users/groupby/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/groupby/flux-capacitor","description":"State management for StoreFront","fork":false,"url":"https://api.github.com/repos/groupby/flux-capacitor","forks_url":"https://api.github.com/repos/groupby/flux-capacitor/forks","keys_url":"https://api.github.com/repos/groupby/flux-capacitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/groupby/flux-capacitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/groupby/flux-capacitor/teams","hooks_url":"https://api.github.com/repos/groupby/flux-capacitor/hooks","issue_events_url":"https://api.github.com/repos/groupby/flux-capacitor/issues/events{/number}","events_url":"https://api.github.com/repos/groupby/flux-capacitor/events","assignees_url":"https://api.github.com/repos/groupby/flux-capacitor/assignees{/user}","branches_url":"https://api.github.com/repos/groupby/flux-capacitor/branches{/branch}","tags_url":"https://api.github.com/repos/groupby/flux-capacitor/tags","blobs_url":"https://api.github.com/repos/groupby/flux-capacitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/groupby/flux-capacitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/groupby/flux-capacitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/groupby/flux-capacitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/groupby/flux-capacitor/statuses/{sha}","languages_url":"https://api.github.com/repos/groupby/flux-capacitor/languages","stargazers_url":"https://api.github.com/repos/groupby/flux-capacitor/stargazers","contributors_url":"https://api.github.com/repos/groupby/flux-capacitor/contributors","subscribers_url":"https://api.github.com/repos/groupby/flux-capacitor/subscribers","subscription_url":"https://api.github.com/repos/groupby/flux-capacitor/subscription","commits_url":"https://api.github.com/repos/groupby/flux-capacitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/groupby/flux-capacitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/groupby/flux-capacitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/groupby/flux-capacitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/groupby/flux-capacitor/contents/{+path}","compare_url":"https://api.github.com/repos/groupby/flux-capacitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/groupby/flux-capacitor/merges","archive_url":"https://api.github.com/repos/groupby/flux-capacitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/groupby/flux-capacitor/downloads","issues_url":"https://api.github.com/repos/groupby/flux-capacitor/issues{/number}","pulls_url":"https://api.github.com/repos/groupby/flux-capacitor/pulls{/number}","milestones_url":"https://api.github.com/repos/groupby/flux-capacitor/milestones{/number}","notifications_url":"https://api.github.com/repos/groupby/flux-capacitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/groupby/flux-capacitor/labels{/name}","releases_url":"https://api.github.com/repos/groupby/flux-capacitor/releases{/id}","deployments_url":"https://api.github.com/repos/groupby/flux-capacitor/deployments","created_at":"2017-05-10T16:17:15Z","updated_at":"2017-05-11T13:55:19Z","pushed_at":"2017-06-26T19:46:57Z","git_url":"git://github.com/groupby/flux-capacitor.git","ssh_url":"git@github.com:groupby/flux-capacitor.git","clone_url":"https://github.com/groupby/flux-capacitor.git","svn_url":"https://github.com/groupby/flux-capacitor","homepage":null,"size":235,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/groupby/flux-capacitor/pulls/23"},"html":{"href":"https://github.com/groupby/flux-capacitor/pull/23"},"issue":{"href":"https://api.github.com/repos/groupby/flux-capacitor/issues/23"},"comments":{"href":"https://api.github.com/repos/groupby/flux-capacitor/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/groupby/flux-capacitor/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/groupby/flux-capacitor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/groupby/flux-capacitor/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/groupby/flux-capacitor/statuses/83e451b218b5db876d8dac60f32a0b8ce0dee445"}}}}
{"actor":{"display_login":"Vic-Dev"}}