{"action":"created","comment":{"url":"https://api.github.com/repos/andywer/leakage/pulls/comments/94018622","pull_request_review_id":14548413,"id":94018622,"diff_hunk":"@@ -0,0 +1,21 @@\n+// Using mocha, since for memory leak testing we want the tests run serially, anyway\n+\n+const expect = require('chai').expect\n+const leakage = require('../lib/index')\n+\n+describe('leakage', () => {\n+  it('throws an error when testing leaky code', () => {\n+    const objects = []\n+\n+    expect(() => leakage.iteration(100, () => {","path":"test/integration.test.js","position":10,"original_position":10,"commit_id":"e7e4aeb700518ec613bc9f39973961d517de8f30","original_commit_id":"085f264ddbe1d81b1ef4f3e9787131e5cc28d1f4","user":{"login":"andywer","id":1842462,"avatar_url":"https://avatars.githubusercontent.com/u/1842462?v=3","gravatar_id":"","url":"https://api.github.com/users/andywer","html_url":"https://github.com/andywer","followers_url":"https://api.github.com/users/andywer/followers","following_url":"https://api.github.com/users/andywer/following{/other_user}","gists_url":"https://api.github.com/users/andywer/gists{/gist_id}","starred_url":"https://api.github.com/users/andywer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andywer/subscriptions","organizations_url":"https://api.github.com/users/andywer/orgs","repos_url":"https://api.github.com/users/andywer/repos","events_url":"https://api.github.com/users/andywer/events{/privacy}","received_events_url":"https://api.github.com/users/andywer/received_events","type":"User","site_admin":false},"body":"And that, children, is why you should never skip code reviews... 😅","created_at":"2016-12-28T10:44:59Z","updated_at":"2016-12-28T10:44:59Z","html_url":"https://github.com/andywer/leakage/pull/8#discussion_r94018622","pull_request_url":"https://api.github.com/repos/andywer/leakage/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/andywer/leakage/pulls/comments/94018622"},"html":{"href":"https://github.com/andywer/leakage/pull/8#discussion_r94018622"},"pull_request":{"href":"https://api.github.com/repos/andywer/leakage/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/andywer/leakage/pulls/8","id":99533008,"html_url":"https://github.com/andywer/leakage/pull/8","diff_url":"https://github.com/andywer/leakage/pull/8.diff","patch_url":"https://github.com/andywer/leakage/pull/8.patch","issue_url":"https://api.github.com/repos/andywer/leakage/issues/8","number":8,"state":"open","locked":false,"title":"Working travis config + simple integration test + node 4 support","user":{"login":"andywer","id":1842462,"avatar_url":"https://avatars.githubusercontent.com/u/1842462?v=3","gravatar_id":"","url":"https://api.github.com/users/andywer","html_url":"https://github.com/andywer","followers_url":"https://api.github.com/users/andywer/followers","following_url":"https://api.github.com/users/andywer/following{/other_user}","gists_url":"https://api.github.com/users/andywer/gists{/gist_id}","starred_url":"https://api.github.com/users/andywer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andywer/subscriptions","organizations_url":"https://api.github.com/users/andywer/orgs","repos_url":"https://api.github.com/users/andywer/repos","events_url":"https://api.github.com/users/andywer/events{/privacy}","received_events_url":"https://api.github.com/users/andywer/received_events","type":"User","site_admin":false},"body":"Fixes #3 and #4.\r\n\r\n@btmills ","created_at":"2016-12-28T10:28:13Z","updated_at":"2016-12-28T10:44:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10cab98b2ae00b7f575e972d17457e0b19cb51d4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andywer/leakage/pulls/8/commits","review_comments_url":"https://api.github.com/repos/andywer/leakage/pulls/8/comments","review_comment_url":"https://api.github.com/repos/andywer/leakage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andywer/leakage/issues/8/comments","statuses_url":"https://api.github.com/repos/andywer/leakage/statuses/e7e4aeb700518ec613bc9f39973961d517de8f30","head":{"label":"andywer:feature/ci","ref":"feature/ci","sha":"e7e4aeb700518ec613bc9f39973961d517de8f30","user":{"login":"andywer","id":1842462,"avatar_url":"https://avatars.githubusercontent.com/u/1842462?v=3","gravatar_id":"","url":"https://api.github.com/users/andywer","html_url":"https://github.com/andywer","followers_url":"https://api.github.com/users/andywer/followers","following_url":"https://api.github.com/users/andywer/following{/other_user}","gists_url":"https://api.github.com/users/andywer/gists{/gist_id}","starred_url":"https://api.github.com/users/andywer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andywer/subscriptions","organizations_url":"https://api.github.com/users/andywer/orgs","repos_url":"https://api.github.com/users/andywer/repos","events_url":"https://api.github.com/users/andywer/events{/privacy}","received_events_url":"https://api.github.com/users/andywer/received_events","type":"User","site_admin":false},"repo":{"id":77452964,"name":"leakage","full_name":"andywer/leakage","owner":{"login":"andywer","id":1842462,"avatar_url":"https://avatars.githubusercontent.com/u/1842462?v=3","gravatar_id":"","url":"https://api.github.com/users/andywer","html_url":"https://github.com/andywer","followers_url":"https://api.github.com/users/andywer/followers","following_url":"https://api.github.com/users/andywer/following{/other_user}","gists_url":"https://api.github.com/users/andywer/gists{/gist_id}","starred_url":"https://api.github.com/users/andywer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andywer/subscriptions","organizations_url":"https://api.github.com/users/andywer/orgs","repos_url":"https://api.github.com/users/andywer/repos","events_url":"https://api.github.com/users/andywer/events{/privacy}","received_events_url":"https://api.github.com/users/andywer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andywer/leakage","description":"🐛 Memory leak testing for node.","fork":false,"url":"https://api.github.com/repos/andywer/leakage","forks_url":"https://api.github.com/repos/andywer/leakage/forks","keys_url":"https://api.github.com/repos/andywer/leakage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andywer/leakage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andywer/leakage/teams","hooks_url":"https://api.github.com/repos/andywer/leakage/hooks","issue_events_url":"https://api.github.com/repos/andywer/leakage/issues/events{/number}","events_url":"https://api.github.com/repos/andywer/leakage/events","assignees_url":"https://api.github.com/repos/andywer/leakage/assignees{/user}","branches_url":"https://api.github.com/repos/andywer/leakage/branches{/branch}","tags_url":"https://api.github.com/repos/andywer/leakage/tags","blobs_url":"https://api.github.com/repos/andywer/leakage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andywer/leakage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andywer/leakage/git/refs{/sha}","trees_url":"https://api.github.com/repos/andywer/leakage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andywer/leakage/statuses/{sha}","languages_url":"https://api.github.com/repos/andywer/leakage/languages","stargazers_url":"https://api.github.com/repos/andywer/leakage/stargazers","contributors_url":"https://api.github.com/repos/andywer/leakage/contributors","subscribers_url":"https://api.github.com/repos/andywer/leakage/subscribers","subscription_url":"https://api.github.com/repos/andywer/leakage/subscription","commits_url":"https://api.github.com/repos/andywer/leakage/commits{/sha}","git_commits_url":"https://api.github.com/repos/andywer/leakage/git/commits{/sha}","comments_url":"https://api.github.com/repos/andywer/leakage/comments{/number}","issue_comment_url":"https://api.github.com/repos/andywer/leakage/issues/comments{/number}","contents_url":"https://api.github.com/repos/andywer/leakage/contents/{+path}","compare_url":"https://api.github.com/repos/andywer/leakage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andywer/leakage/merges","archive_url":"https://api.github.com/repos/andywer/leakage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andywer/leakage/downloads","issues_url":"https://api.github.com/repos/andywer/leakage/issues{/number}","pulls_url":"https://api.github.com/repos/andywer/leakage/pulls{/number}","milestones_url":"https://api.github.com/repos/andywer/leakage/milestones{/number}","notifications_url":"https://api.github.com/repos/andywer/leakage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andywer/leakage/labels{/name}","releases_url":"https://api.github.com/repos/andywer/leakage/releases{/id}","deployments_url":"https://api.github.com/repos/andywer/leakage/deployments","created_at":"2016-12-27T12:12:16Z","updated_at":"2016-12-28T10:35:28Z","pushed_at":"2016-12-28T10:32:38Z","git_url":"git://github.com/andywer/leakage.git","ssh_url":"git@github.com:andywer/leakage.git","clone_url":"https://github.com/andywer/leakage.git","svn_url":"https://github.com/andywer/leakage","homepage":"","size":127,"stargazers_count":202,"watchers_count":202,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":202,"default_branch":"master"}},"base":{"label":"andywer:master","ref":"master","sha":"f2049ef1947e6a7a0c82b70ef77d95ec707e13f3","user":{"login":"andywer","id":1842462,"avatar_url":"https://avatars.githubusercontent.com/u/1842462?v=3","gravatar_id":"","url":"https://api.github.com/users/andywer","html_url":"https://github.com/andywer","followers_url":"https://api.github.com/users/andywer/followers","following_url":"https://api.github.com/users/andywer/following{/other_user}","gists_url":"https://api.github.com/users/andywer/gists{/gist_id}","starred_url":"https://api.github.com/users/andywer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andywer/subscriptions","organizations_url":"https://api.github.com/users/andywer/orgs","repos_url":"https://api.github.com/users/andywer/repos","events_url":"https://api.github.com/users/andywer/events{/privacy}","received_events_url":"https://api.github.com/users/andywer/received_events","type":"User","site_admin":false},"repo":{"id":77452964,"name":"leakage","full_name":"andywer/leakage","owner":{"login":"andywer","id":1842462,"avatar_url":"https://avatars.githubusercontent.com/u/1842462?v=3","gravatar_id":"","url":"https://api.github.com/users/andywer","html_url":"https://github.com/andywer","followers_url":"https://api.github.com/users/andywer/followers","following_url":"https://api.github.com/users/andywer/following{/other_user}","gists_url":"https://api.github.com/users/andywer/gists{/gist_id}","starred_url":"https://api.github.com/users/andywer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andywer/subscriptions","organizations_url":"https://api.github.com/users/andywer/orgs","repos_url":"https://api.github.com/users/andywer/repos","events_url":"https://api.github.com/users/andywer/events{/privacy}","received_events_url":"https://api.github.com/users/andywer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andywer/leakage","description":"🐛 Memory leak testing for node.","fork":false,"url":"https://api.github.com/repos/andywer/leakage","forks_url":"https://api.github.com/repos/andywer/leakage/forks","keys_url":"https://api.github.com/repos/andywer/leakage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andywer/leakage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andywer/leakage/teams","hooks_url":"https://api.github.com/repos/andywer/leakage/hooks","issue_events_url":"https://api.github.com/repos/andywer/leakage/issues/events{/number}","events_url":"https://api.github.com/repos/andywer/leakage/events","assignees_url":"https://api.github.com/repos/andywer/leakage/assignees{/user}","branches_url":"https://api.github.com/repos/andywer/leakage/branches{/branch}","tags_url":"https://api.github.com/repos/andywer/leakage/tags","blobs_url":"https://api.github.com/repos/andywer/leakage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andywer/leakage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andywer/leakage/git/refs{/sha}","trees_url":"https://api.github.com/repos/andywer/leakage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andywer/leakage/statuses/{sha}","languages_url":"https://api.github.com/repos/andywer/leakage/languages","stargazers_url":"https://api.github.com/repos/andywer/leakage/stargazers","contributors_url":"https://api.github.com/repos/andywer/leakage/contributors","subscribers_url":"https://api.github.com/repos/andywer/leakage/subscribers","subscription_url":"https://api.github.com/repos/andywer/leakage/subscription","commits_url":"https://api.github.com/repos/andywer/leakage/commits{/sha}","git_commits_url":"https://api.github.com/repos/andywer/leakage/git/commits{/sha}","comments_url":"https://api.github.com/repos/andywer/leakage/comments{/number}","issue_comment_url":"https://api.github.com/repos/andywer/leakage/issues/comments{/number}","contents_url":"https://api.github.com/repos/andywer/leakage/contents/{+path}","compare_url":"https://api.github.com/repos/andywer/leakage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andywer/leakage/merges","archive_url":"https://api.github.com/repos/andywer/leakage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andywer/leakage/downloads","issues_url":"https://api.github.com/repos/andywer/leakage/issues{/number}","pulls_url":"https://api.github.com/repos/andywer/leakage/pulls{/number}","milestones_url":"https://api.github.com/repos/andywer/leakage/milestones{/number}","notifications_url":"https://api.github.com/repos/andywer/leakage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andywer/leakage/labels{/name}","releases_url":"https://api.github.com/repos/andywer/leakage/releases{/id}","deployments_url":"https://api.github.com/repos/andywer/leakage/deployments","created_at":"2016-12-27T12:12:16Z","updated_at":"2016-12-28T10:35:28Z","pushed_at":"2016-12-28T10:32:38Z","git_url":"git://github.com/andywer/leakage.git","ssh_url":"git@github.com:andywer/leakage.git","clone_url":"https://github.com/andywer/leakage.git","svn_url":"https://github.com/andywer/leakage","homepage":"","size":127,"stargazers_count":202,"watchers_count":202,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":202,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andywer/leakage/pulls/8"},"html":{"href":"https://github.com/andywer/leakage/pull/8"},"issue":{"href":"https://api.github.com/repos/andywer/leakage/issues/8"},"comments":{"href":"https://api.github.com/repos/andywer/leakage/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/andywer/leakage/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/andywer/leakage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andywer/leakage/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/andywer/leakage/statuses/e7e4aeb700518ec613bc9f39973961d517de8f30"}}}}
{"actor":{"display_login":"andywer"}}