{"action":"created","comment":{"url":"https://api.github.com/repos/yandex/mocha-parallel-tests/pulls/comments/85925352","pull_request_review_id":6610003,"id":85925352,"diff_hunk":"@@ -0,0 +1,24 @@\n+#!/usr/bin/env node\n+\n+'use strict';\n+\n+const fs = require('fs');\n+const assert = require('assert');\n+const path = require('path');\n+const exec = require('child_process').exec;\n+\n+const fileName = `file${Math.random().toString(36).substr(2, 9)}.txt`;\n+const filePath = `${process.env.TMPDIR}${fileName}`;\n+\n+const libExecutable = path.resolve(__dirname, '../../dist/bin/mocha-parallel-tests');\n+\n+exec(`FILE=${fileName} ${libExecutable} --no-exit -R test/reporter-end-no-exit/tests/reporter/spec-file test/reporter-end-no-exit/tests/*.js`, {\n+    cwd: path.resolve(__dirname, '../../')\n+}, () => {\n+    fs.readFile(filePath, (err, data) => {\n+        if (err) {\n+            throw new Error(`expected ${filePath} file read`);\n+        }\n+        assert.equal(data.toString('utf8'), 'writed', `expected ${filePath} to contain 'writed' string`);","path":"test/reporter-end-no-exit/index.js","position":22,"original_position":22,"commit_id":"cfb6338fdbdca74a7935233703eb5501be22ace6","original_commit_id":"cfb6338fdbdca74a7935233703eb5501be22ace6","user":{"login":"1999","id":73191,"avatar_url":"https://avatars.githubusercontent.com/u/73191?v=3","gravatar_id":"","url":"https://api.github.com/users/1999","html_url":"https://github.com/1999","followers_url":"https://api.github.com/users/1999/followers","following_url":"https://api.github.com/users/1999/following{/other_user}","gists_url":"https://api.github.com/users/1999/gists{/gist_id}","starred_url":"https://api.github.com/users/1999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1999/subscriptions","organizations_url":"https://api.github.com/users/1999/orgs","repos_url":"https://api.github.com/users/1999/repos","events_url":"https://api.github.com/users/1999/events{/privacy}","received_events_url":"https://api.github.com/users/1999/received_events","type":"User","site_admin":false},"body":"+1. Просто вторая форма - wrote.","created_at":"2016-11-01T13:15:17Z","updated_at":"2016-11-01T13:15:17Z","html_url":"https://github.com/yandex/mocha-parallel-tests/pull/87#discussion_r85925352","pull_request_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/pulls/87","_links":{"self":{"href":"https://api.github.com/repos/yandex/mocha-parallel-tests/pulls/comments/85925352"},"html":{"href":"https://github.com/yandex/mocha-parallel-tests/pull/87#discussion_r85925352"},"pull_request":{"href":"https://api.github.com/repos/yandex/mocha-parallel-tests/pulls/87"}}},"pull_request":{"url":"https://api.github.com/repos/yandex/mocha-parallel-tests/pulls/87","id":91779277,"html_url":"https://github.com/yandex/mocha-parallel-tests/pull/87","diff_url":"https://github.com/yandex/mocha-parallel-tests/pull/87.diff","patch_url":"https://github.com/yandex/mocha-parallel-tests/pull/87.patch","issue_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/issues/87","number":87,"state":"open","locked":false,"title":"Support for --no-exit argv","user":{"login":"k03mad","id":3288444,"avatar_url":"https://avatars.githubusercontent.com/u/3288444?v=3","gravatar_id":"","url":"https://api.github.com/users/k03mad","html_url":"https://github.com/k03mad","followers_url":"https://api.github.com/users/k03mad/followers","following_url":"https://api.github.com/users/k03mad/following{/other_user}","gists_url":"https://api.github.com/users/k03mad/gists{/gist_id}","starred_url":"https://api.github.com/users/k03mad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k03mad/subscriptions","organizations_url":"https://api.github.com/users/k03mad/orgs","repos_url":"https://api.github.com/users/k03mad/repos","events_url":"https://api.github.com/users/k03mad/events{/privacy}","received_events_url":"https://api.github.com/users/k03mad/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-01T13:02:09Z","updated_at":"2016-11-01T13:15:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42e6b572936d32a50374b32d8dc805fd66e7acdf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/pulls/87/commits","review_comments_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/pulls/87/comments","review_comment_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/issues/87/comments","statuses_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/statuses/cfb6338fdbdca74a7935233703eb5501be22ace6","head":{"label":"k03mad:noExit","ref":"noExit","sha":"cfb6338fdbdca74a7935233703eb5501be22ace6","user":{"login":"k03mad","id":3288444,"avatar_url":"https://avatars.githubusercontent.com/u/3288444?v=3","gravatar_id":"","url":"https://api.github.com/users/k03mad","html_url":"https://github.com/k03mad","followers_url":"https://api.github.com/users/k03mad/followers","following_url":"https://api.github.com/users/k03mad/following{/other_user}","gists_url":"https://api.github.com/users/k03mad/gists{/gist_id}","starred_url":"https://api.github.com/users/k03mad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k03mad/subscriptions","organizations_url":"https://api.github.com/users/k03mad/orgs","repos_url":"https://api.github.com/users/k03mad/repos","events_url":"https://api.github.com/users/k03mad/events{/privacy}","received_events_url":"https://api.github.com/users/k03mad/received_events","type":"User","site_admin":false},"repo":{"id":67702493,"name":"mocha-parallel-tests","full_name":"k03mad/mocha-parallel-tests","owner":{"login":"k03mad","id":3288444,"avatar_url":"https://avatars.githubusercontent.com/u/3288444?v=3","gravatar_id":"","url":"https://api.github.com/users/k03mad","html_url":"https://github.com/k03mad","followers_url":"https://api.github.com/users/k03mad/followers","following_url":"https://api.github.com/users/k03mad/following{/other_user}","gists_url":"https://api.github.com/users/k03mad/gists{/gist_id}","starred_url":"https://api.github.com/users/k03mad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k03mad/subscriptions","organizations_url":"https://api.github.com/users/k03mad/orgs","repos_url":"https://api.github.com/users/k03mad/repos","events_url":"https://api.github.com/users/k03mad/events{/privacy}","received_events_url":"https://api.github.com/users/k03mad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/k03mad/mocha-parallel-tests","description":"Parallel test runner for mocha tests","fork":true,"url":"https://api.github.com/repos/k03mad/mocha-parallel-tests","forks_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/forks","keys_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/teams","hooks_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/hooks","issue_events_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/issues/events{/number}","events_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/events","assignees_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/assignees{/user}","branches_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/branches{/branch}","tags_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/tags","blobs_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/languages","stargazers_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/stargazers","contributors_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/contributors","subscribers_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/subscribers","subscription_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/subscription","commits_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/contents/{+path}","compare_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/merges","archive_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/downloads","issues_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/issues{/number}","pulls_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/labels{/name}","releases_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/releases{/id}","deployments_url":"https://api.github.com/repos/k03mad/mocha-parallel-tests/deployments","created_at":"2016-09-08T12:47:08Z","updated_at":"2016-09-08T12:47:10Z","pushed_at":"2016-11-01T13:00:50Z","git_url":"git://github.com/k03mad/mocha-parallel-tests.git","ssh_url":"git@github.com:k03mad/mocha-parallel-tests.git","clone_url":"https://github.com/k03mad/mocha-parallel-tests.git","svn_url":"https://github.com/k03mad/mocha-parallel-tests","homepage":"","size":180,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yandex:master","ref":"master","sha":"a8cf1a8aa317a54ebdd38f1d6db65402dd5b87ea","user":{"login":"yandex","id":7409213,"avatar_url":"https://avatars.githubusercontent.com/u/7409213?v=3","gravatar_id":"","url":"https://api.github.com/users/yandex","html_url":"https://github.com/yandex","followers_url":"https://api.github.com/users/yandex/followers","following_url":"https://api.github.com/users/yandex/following{/other_user}","gists_url":"https://api.github.com/users/yandex/gists{/gist_id}","starred_url":"https://api.github.com/users/yandex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yandex/subscriptions","organizations_url":"https://api.github.com/users/yandex/orgs","repos_url":"https://api.github.com/users/yandex/repos","events_url":"https://api.github.com/users/yandex/events{/privacy}","received_events_url":"https://api.github.com/users/yandex/received_events","type":"Organization","site_admin":false},"repo":{"id":47396511,"name":"mocha-parallel-tests","full_name":"yandex/mocha-parallel-tests","owner":{"login":"yandex","id":7409213,"avatar_url":"https://avatars.githubusercontent.com/u/7409213?v=3","gravatar_id":"","url":"https://api.github.com/users/yandex","html_url":"https://github.com/yandex","followers_url":"https://api.github.com/users/yandex/followers","following_url":"https://api.github.com/users/yandex/following{/other_user}","gists_url":"https://api.github.com/users/yandex/gists{/gist_id}","starred_url":"https://api.github.com/users/yandex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yandex/subscriptions","organizations_url":"https://api.github.com/users/yandex/orgs","repos_url":"https://api.github.com/users/yandex/repos","events_url":"https://api.github.com/users/yandex/events{/privacy}","received_events_url":"https://api.github.com/users/yandex/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yandex/mocha-parallel-tests","description":"Parallel test runner for mocha tests","fork":false,"url":"https://api.github.com/repos/yandex/mocha-parallel-tests","forks_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/forks","keys_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/teams","hooks_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/hooks","issue_events_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/issues/events{/number}","events_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/events","assignees_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/assignees{/user}","branches_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/branches{/branch}","tags_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/tags","blobs_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/languages","stargazers_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/stargazers","contributors_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/contributors","subscribers_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/subscribers","subscription_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/subscription","commits_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/contents/{+path}","compare_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/merges","archive_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/downloads","issues_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/issues{/number}","pulls_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/labels{/name}","releases_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/releases{/id}","deployments_url":"https://api.github.com/repos/yandex/mocha-parallel-tests/deployments","created_at":"2015-12-04T10:09:37Z","updated_at":"2016-11-01T10:51:10Z","pushed_at":"2016-11-01T13:02:09Z","git_url":"git://github.com/yandex/mocha-parallel-tests.git","ssh_url":"git@github.com:yandex/mocha-parallel-tests.git","clone_url":"https://github.com/yandex/mocha-parallel-tests.git","svn_url":"https://github.com/yandex/mocha-parallel-tests","homepage":"","size":244,"stargazers_count":19,"watchers_count":19,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":12,"forks":6,"open_issues":12,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yandex/mocha-parallel-tests/pulls/87"},"html":{"href":"https://github.com/yandex/mocha-parallel-tests/pull/87"},"issue":{"href":"https://api.github.com/repos/yandex/mocha-parallel-tests/issues/87"},"comments":{"href":"https://api.github.com/repos/yandex/mocha-parallel-tests/issues/87/comments"},"review_comments":{"href":"https://api.github.com/repos/yandex/mocha-parallel-tests/pulls/87/comments"},"review_comment":{"href":"https://api.github.com/repos/yandex/mocha-parallel-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yandex/mocha-parallel-tests/pulls/87/commits"},"statuses":{"href":"https://api.github.com/repos/yandex/mocha-parallel-tests/statuses/cfb6338fdbdca74a7935233703eb5501be22ace6"}}}}
{"actor":{"display_login":"1999"}}