{"action":"created","comment":{"url":"https://api.github.com/repos/inspirehep/inspirehep-ui/pulls/comments/190220233","pull_request_review_id":122551687,"id":190220233,"diff_hunk":"@@ -0,0 +1,42 @@\n+import React from 'react';\n+import { shallow } from 'enzyme';\n+\n+import Latex from '../Latex';\n+\n+describe('Latex', () => {\n+  it('renders only text', () => {\n+    const wrapper = shallow((\n+      <Latex>\n+        This does not have latex in it\n+      </Latex>\n+    ));\n+    expect(wrapper).toMatchSnapshot();\n+  });\n+\n+  it('renders text with LaTex in $...$', () => {\n+    const formula = '2.8~\\\\mathrm{fb}^{-1}';","path":"src/common/components/Latex/__tests__/Latex.test.jsx","position":17,"original_position":17,"commit_id":"a57eb85de76f5285649ed3289d350350c5b3fa78","original_commit_id":"be638153639d93545e25831f8eeb7033df43fafb","user":{"login":"harunurhan","id":4868667,"avatar_url":"https://avatars1.githubusercontent.com/u/4868667?v=4","gravatar_id":"","url":"https://api.github.com/users/harunurhan","html_url":"https://github.com/harunurhan","followers_url":"https://api.github.com/users/harunurhan/followers","following_url":"https://api.github.com/users/harunurhan/following{/other_user}","gists_url":"https://api.github.com/users/harunurhan/gists{/gist_id}","starred_url":"https://api.github.com/users/harunurhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harunurhan/subscriptions","organizations_url":"https://api.github.com/users/harunurhan/orgs","repos_url":"https://api.github.com/users/harunurhan/repos","events_url":"https://api.github.com/users/harunurhan/events{/privacy}","received_events_url":"https://api.github.com/users/harunurhan/received_events","type":"User","site_admin":false},"body":"Actually records can have anything including this, there is no pattern here.","created_at":"2018-05-23T12:04:53Z","updated_at":"2018-05-23T12:04:53Z","html_url":"https://github.com/inspirehep/inspirehep-ui/pull/6#discussion_r190220233","pull_request_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/pulls/6","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/inspirehep/inspirehep-ui/pulls/comments/190220233"},"html":{"href":"https://github.com/inspirehep/inspirehep-ui/pull/6#discussion_r190220233"},"pull_request":{"href":"https://api.github.com/repos/inspirehep/inspirehep-ui/pulls/6"}},"in_reply_to_id":190173109},"pull_request":{"url":"https://api.github.com/repos/inspirehep/inspirehep-ui/pulls/6","id":188767259,"html_url":"https://github.com/inspirehep/inspirehep-ui/pull/6","diff_url":"https://github.com/inspirehep/inspirehep-ui/pull/6.diff","patch_url":"https://github.com/inspirehep/inspirehep-ui/pull/6.patch","issue_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/issues/6","number":6,"state":"open","locked":false,"title":"literature: add search result items","user":{"login":"harunurhan","id":4868667,"avatar_url":"https://avatars1.githubusercontent.com/u/4868667?v=4","gravatar_id":"","url":"https://api.github.com/users/harunurhan","html_url":"https://github.com/harunurhan","followers_url":"https://api.github.com/users/harunurhan/followers","following_url":"https://api.github.com/users/harunurhan/following{/other_user}","gists_url":"https://api.github.com/users/harunurhan/gists{/gist_id}","starred_url":"https://api.github.com/users/harunurhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harunurhan/subscriptions","organizations_url":"https://api.github.com/users/harunurhan/orgs","repos_url":"https://api.github.com/users/harunurhan/repos","events_url":"https://api.github.com/users/harunurhan/events{/privacy}","received_events_url":"https://api.github.com/users/harunurhan/received_events","type":"User","site_admin":false},"body":"* Adds components for search result items.","created_at":"2018-05-17T15:01:12Z","updated_at":"2018-05-23T12:04:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b62a69cd7b808928493886d081b520eee06f1ffa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/pulls/6/commits","review_comments_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/pulls/6/comments","review_comment_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/issues/6/comments","statuses_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/statuses/a57eb85de76f5285649ed3289d350350c5b3fa78","head":{"label":"harunurhan:literature-search","ref":"literature-search","sha":"a57eb85de76f5285649ed3289d350350c5b3fa78","user":{"login":"harunurhan","id":4868667,"avatar_url":"https://avatars1.githubusercontent.com/u/4868667?v=4","gravatar_id":"","url":"https://api.github.com/users/harunurhan","html_url":"https://github.com/harunurhan","followers_url":"https://api.github.com/users/harunurhan/followers","following_url":"https://api.github.com/users/harunurhan/following{/other_user}","gists_url":"https://api.github.com/users/harunurhan/gists{/gist_id}","starred_url":"https://api.github.com/users/harunurhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harunurhan/subscriptions","organizations_url":"https://api.github.com/users/harunurhan/orgs","repos_url":"https://api.github.com/users/harunurhan/repos","events_url":"https://api.github.com/users/harunurhan/events{/privacy}","received_events_url":"https://api.github.com/users/harunurhan/received_events","type":"User","site_admin":false},"repo":{"id":131297791,"name":"inspirehep-ui","full_name":"harunurhan/inspirehep-ui","owner":{"login":"harunurhan","id":4868667,"avatar_url":"https://avatars1.githubusercontent.com/u/4868667?v=4","gravatar_id":"","url":"https://api.github.com/users/harunurhan","html_url":"https://github.com/harunurhan","followers_url":"https://api.github.com/users/harunurhan/followers","following_url":"https://api.github.com/users/harunurhan/following{/other_user}","gists_url":"https://api.github.com/users/harunurhan/gists{/gist_id}","starred_url":"https://api.github.com/users/harunurhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harunurhan/subscriptions","organizations_url":"https://api.github.com/users/harunurhan/orgs","repos_url":"https://api.github.com/users/harunurhan/repos","events_url":"https://api.github.com/users/harunurhan/events{/privacy}","received_events_url":"https://api.github.com/users/harunurhan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/harunurhan/inspirehep-ui","description":"UI for INSPIREHEP","fork":true,"url":"https://api.github.com/repos/harunurhan/inspirehep-ui","forks_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/forks","keys_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/teams","hooks_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/hooks","issue_events_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/issues/events{/number}","events_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/events","assignees_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/assignees{/user}","branches_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/branches{/branch}","tags_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/tags","blobs_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/languages","stargazers_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/stargazers","contributors_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/contributors","subscribers_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/subscribers","subscription_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/subscription","commits_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/contents/{+path}","compare_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/merges","archive_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/downloads","issues_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/issues{/number}","pulls_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/labels{/name}","releases_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/releases{/id}","deployments_url":"https://api.github.com/repos/harunurhan/inspirehep-ui/deployments","created_at":"2018-04-27T13:07:39Z","updated_at":"2018-04-27T13:07:41Z","pushed_at":"2018-05-23T11:37:48Z","git_url":"git://github.com/harunurhan/inspirehep-ui.git","ssh_url":"git@github.com:harunurhan/inspirehep-ui.git","clone_url":"https://github.com/harunurhan/inspirehep-ui.git","svn_url":"https://github.com/harunurhan/inspirehep-ui","homepage":null,"size":326,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"inspirehep:master","ref":"master","sha":"50600cedea2d6f6a3fb24e398cedcd8070214233","user":{"login":"inspirehep","id":356664,"avatar_url":"https://avatars3.githubusercontent.com/u/356664?v=4","gravatar_id":"","url":"https://api.github.com/users/inspirehep","html_url":"https://github.com/inspirehep","followers_url":"https://api.github.com/users/inspirehep/followers","following_url":"https://api.github.com/users/inspirehep/following{/other_user}","gists_url":"https://api.github.com/users/inspirehep/gists{/gist_id}","starred_url":"https://api.github.com/users/inspirehep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspirehep/subscriptions","organizations_url":"https://api.github.com/users/inspirehep/orgs","repos_url":"https://api.github.com/users/inspirehep/repos","events_url":"https://api.github.com/users/inspirehep/events{/privacy}","received_events_url":"https://api.github.com/users/inspirehep/received_events","type":"Organization","site_admin":false},"repo":{"id":131297214,"name":"inspirehep-ui","full_name":"inspirehep/inspirehep-ui","owner":{"login":"inspirehep","id":356664,"avatar_url":"https://avatars3.githubusercontent.com/u/356664?v=4","gravatar_id":"","url":"https://api.github.com/users/inspirehep","html_url":"https://github.com/inspirehep","followers_url":"https://api.github.com/users/inspirehep/followers","following_url":"https://api.github.com/users/inspirehep/following{/other_user}","gists_url":"https://api.github.com/users/inspirehep/gists{/gist_id}","starred_url":"https://api.github.com/users/inspirehep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspirehep/subscriptions","organizations_url":"https://api.github.com/users/inspirehep/orgs","repos_url":"https://api.github.com/users/inspirehep/repos","events_url":"https://api.github.com/users/inspirehep/events{/privacy}","received_events_url":"https://api.github.com/users/inspirehep/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inspirehep/inspirehep-ui","description":"UI for INSPIREHEP","fork":false,"url":"https://api.github.com/repos/inspirehep/inspirehep-ui","forks_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/forks","keys_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/teams","hooks_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/hooks","issue_events_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/issues/events{/number}","events_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/events","assignees_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/assignees{/user}","branches_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/branches{/branch}","tags_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/tags","blobs_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/languages","stargazers_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/stargazers","contributors_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/contributors","subscribers_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/subscribers","subscription_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/subscription","commits_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/contents/{+path}","compare_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/merges","archive_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/downloads","issues_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/issues{/number}","pulls_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/labels{/name}","releases_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/releases{/id}","deployments_url":"https://api.github.com/repos/inspirehep/inspirehep-ui/deployments","created_at":"2018-04-27T13:02:34Z","updated_at":"2018-05-18T06:57:12Z","pushed_at":"2018-05-23T11:37:49Z","git_url":"git://github.com/inspirehep/inspirehep-ui.git","ssh_url":"git@github.com:inspirehep/inspirehep-ui.git","clone_url":"https://github.com/inspirehep/inspirehep-ui.git","svn_url":"https://github.com/inspirehep/inspirehep-ui","homepage":null,"size":288,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":3,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inspirehep/inspirehep-ui/pulls/6"},"html":{"href":"https://github.com/inspirehep/inspirehep-ui/pull/6"},"issue":{"href":"https://api.github.com/repos/inspirehep/inspirehep-ui/issues/6"},"comments":{"href":"https://api.github.com/repos/inspirehep/inspirehep-ui/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/inspirehep/inspirehep-ui/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/inspirehep/inspirehep-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inspirehep/inspirehep-ui/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/inspirehep/inspirehep-ui/statuses/a57eb85de76f5285649ed3289d350350c5b3fa78"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"harunurhan"}}