{"action":"created","comment":{"url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/pulls/comments/57026704","id":57026704,"diff_hunk":"@@ -0,0 +1,347 @@\n+var fs = require('fs');\n+\n+var test = require('../javascript-tasks-9/lib/flow');\n+\n+var chai = require('chai');\n+var sinon = require('sinon');\n+var path = require('path');\n+chai.use(require('sinon-chai'));\n+\n+var expect = chai.expect;\n+var assert = chai.assert;\n+\n+function generateFunction(param, timeout, data) {","path":"test/test.js","position":13,"original_position":13,"commit_id":"75d74fab8e23c23414cb9033a8b1aab2e60839af","original_commit_id":"75d74fab8e23c23414cb9033a8b1aab2e60839af","user":{"login":"Victoria-Vladimirova","id":14944973,"avatar_url":"https://avatars.githubusercontent.com/u/14944973?v=3","gravatar_id":"","url":"https://api.github.com/users/Victoria-Vladimirova","html_url":"https://github.com/Victoria-Vladimirova","followers_url":"https://api.github.com/users/Victoria-Vladimirova/followers","following_url":"https://api.github.com/users/Victoria-Vladimirova/following{/other_user}","gists_url":"https://api.github.com/users/Victoria-Vladimirova/gists{/gist_id}","starred_url":"https://api.github.com/users/Victoria-Vladimirova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victoria-Vladimirova/subscriptions","organizations_url":"https://api.github.com/users/Victoria-Vladimirova/orgs","repos_url":"https://api.github.com/users/Victoria-Vladimirova/repos","events_url":"https://api.github.com/users/Victoria-Vladimirova/events{/privacy}","received_events_url":"https://api.github.com/users/Victoria-Vladimirova/received_events","type":"User","site_admin":false},"body":"Там же есть дефолтное значение)) Если не задан `timeout`, то будет рандомное время","created_at":"2016-03-22T17:07:50Z","updated_at":"2016-03-22T17:07:50Z","html_url":"https://github.com/urfu-2015/webdev-tasks-3/pull/2#discussion_r57026704","pull_request_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/pulls/comments/57026704"},"html":{"href":"https://github.com/urfu-2015/webdev-tasks-3/pull/2#discussion_r57026704"},"pull_request":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/pulls/2","id":61594564,"html_url":"https://github.com/urfu-2015/webdev-tasks-3/pull/2","diff_url":"https://github.com/urfu-2015/webdev-tasks-3/pull/2.diff","patch_url":"https://github.com/urfu-2015/webdev-tasks-3/pull/2.patch","issue_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/issues/2","number":2,"state":"open","locked":false,"title":"Владимирова Виктория","user":{"login":"Victoria-Vladimirova","id":14944973,"avatar_url":"https://avatars.githubusercontent.com/u/14944973?v=3","gravatar_id":"","url":"https://api.github.com/users/Victoria-Vladimirova","html_url":"https://github.com/Victoria-Vladimirova","followers_url":"https://api.github.com/users/Victoria-Vladimirova/followers","following_url":"https://api.github.com/users/Victoria-Vladimirova/following{/other_user}","gists_url":"https://api.github.com/users/Victoria-Vladimirova/gists{/gist_id}","starred_url":"https://api.github.com/users/Victoria-Vladimirova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victoria-Vladimirova/subscriptions","organizations_url":"https://api.github.com/users/Victoria-Vladimirova/orgs","repos_url":"https://api.github.com/users/Victoria-Vladimirova/repos","events_url":"https://api.github.com/users/Victoria-Vladimirova/events{/privacy}","received_events_url":"https://api.github.com/users/Victoria-Vladimirova/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-03T17:26:35Z","updated_at":"2016-03-22T17:07:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c9890f1eb93bf93dc698a59b441736073f34820e","assignee":{"login":"evilj0e","id":914429,"avatar_url":"https://avatars.githubusercontent.com/u/914429?v=3","gravatar_id":"","url":"https://api.github.com/users/evilj0e","html_url":"https://github.com/evilj0e","followers_url":"https://api.github.com/users/evilj0e/followers","following_url":"https://api.github.com/users/evilj0e/following{/other_user}","gists_url":"https://api.github.com/users/evilj0e/gists{/gist_id}","starred_url":"https://api.github.com/users/evilj0e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilj0e/subscriptions","organizations_url":"https://api.github.com/users/evilj0e/orgs","repos_url":"https://api.github.com/users/evilj0e/repos","events_url":"https://api.github.com/users/evilj0e/events{/privacy}","received_events_url":"https://api.github.com/users/evilj0e/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/pulls/2/commits","review_comments_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/pulls/2/comments","review_comment_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/issues/2/comments","statuses_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/statuses/75d74fab8e23c23414cb9033a8b1aab2e60839af","head":{"label":"Victoria-Vladimirova:master","ref":"master","sha":"75d74fab8e23c23414cb9033a8b1aab2e60839af","user":{"login":"Victoria-Vladimirova","id":14944973,"avatar_url":"https://avatars.githubusercontent.com/u/14944973?v=3","gravatar_id":"","url":"https://api.github.com/users/Victoria-Vladimirova","html_url":"https://github.com/Victoria-Vladimirova","followers_url":"https://api.github.com/users/Victoria-Vladimirova/followers","following_url":"https://api.github.com/users/Victoria-Vladimirova/following{/other_user}","gists_url":"https://api.github.com/users/Victoria-Vladimirova/gists{/gist_id}","starred_url":"https://api.github.com/users/Victoria-Vladimirova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victoria-Vladimirova/subscriptions","organizations_url":"https://api.github.com/users/Victoria-Vladimirova/orgs","repos_url":"https://api.github.com/users/Victoria-Vladimirova/repos","events_url":"https://api.github.com/users/Victoria-Vladimirova/events{/privacy}","received_events_url":"https://api.github.com/users/Victoria-Vladimirova/received_events","type":"User","site_admin":false},"repo":{"id":53067448,"name":"webdev-tasks-3","full_name":"Victoria-Vladimirova/webdev-tasks-3","owner":{"login":"Victoria-Vladimirova","id":14944973,"avatar_url":"https://avatars.githubusercontent.com/u/14944973?v=3","gravatar_id":"","url":"https://api.github.com/users/Victoria-Vladimirova","html_url":"https://github.com/Victoria-Vladimirova","followers_url":"https://api.github.com/users/Victoria-Vladimirova/followers","following_url":"https://api.github.com/users/Victoria-Vladimirova/following{/other_user}","gists_url":"https://api.github.com/users/Victoria-Vladimirova/gists{/gist_id}","starred_url":"https://api.github.com/users/Victoria-Vladimirova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victoria-Vladimirova/subscriptions","organizations_url":"https://api.github.com/users/Victoria-Vladimirova/orgs","repos_url":"https://api.github.com/users/Victoria-Vladimirova/repos","events_url":"https://api.github.com/users/Victoria-Vladimirova/events{/privacy}","received_events_url":"https://api.github.com/users/Victoria-Vladimirova/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Victoria-Vladimirova/webdev-tasks-3","description":"","fork":true,"url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3","forks_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/forks","keys_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/teams","hooks_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/hooks","issue_events_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/issues/events{/number}","events_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/events","assignees_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/assignees{/user}","branches_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/branches{/branch}","tags_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/tags","blobs_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/statuses/{sha}","languages_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/languages","stargazers_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/stargazers","contributors_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/contributors","subscribers_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/subscribers","subscription_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/subscription","commits_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/contents/{+path}","compare_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/merges","archive_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/downloads","issues_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/issues{/number}","pulls_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/pulls{/number}","milestones_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/milestones{/number}","notifications_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/labels{/name}","releases_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/releases{/id}","deployments_url":"https://api.github.com/repos/Victoria-Vladimirova/webdev-tasks-3/deployments","created_at":"2016-03-03T16:57:26Z","updated_at":"2016-03-17T19:19:16Z","pushed_at":"2016-03-22T09:51:44Z","git_url":"git://github.com/Victoria-Vladimirova/webdev-tasks-3.git","ssh_url":"git@github.com:Victoria-Vladimirova/webdev-tasks-3.git","clone_url":"https://github.com/Victoria-Vladimirova/webdev-tasks-3.git","svn_url":"https://github.com/Victoria-Vladimirova/webdev-tasks-3","homepage":null,"size":11,"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":"urfu-2015:master","ref":"master","sha":"c3e314aee6efb6afe54c8e5a1235d04a5597c21b","user":{"login":"urfu-2015","id":14800971,"avatar_url":"https://avatars.githubusercontent.com/u/14800971?v=3","gravatar_id":"","url":"https://api.github.com/users/urfu-2015","html_url":"https://github.com/urfu-2015","followers_url":"https://api.github.com/users/urfu-2015/followers","following_url":"https://api.github.com/users/urfu-2015/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2015/subscriptions","organizations_url":"https://api.github.com/users/urfu-2015/orgs","repos_url":"https://api.github.com/users/urfu-2015/repos","events_url":"https://api.github.com/users/urfu-2015/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":53043103,"name":"webdev-tasks-3","full_name":"urfu-2015/webdev-tasks-3","owner":{"login":"urfu-2015","id":14800971,"avatar_url":"https://avatars.githubusercontent.com/u/14800971?v=3","gravatar_id":"","url":"https://api.github.com/users/urfu-2015","html_url":"https://github.com/urfu-2015","followers_url":"https://api.github.com/users/urfu-2015/followers","following_url":"https://api.github.com/users/urfu-2015/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2015/subscriptions","organizations_url":"https://api.github.com/users/urfu-2015/orgs","repos_url":"https://api.github.com/users/urfu-2015/repos","events_url":"https://api.github.com/users/urfu-2015/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/urfu-2015/webdev-tasks-3","description":"Задача к лекции «Тесты» – «Тесты»","fork":false,"url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3","forks_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/forks","keys_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/teams","hooks_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/hooks","issue_events_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/issues/events{/number}","events_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/events","assignees_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/assignees{/user}","branches_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/branches{/branch}","tags_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/tags","blobs_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/statuses/{sha}","languages_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/languages","stargazers_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/stargazers","contributors_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/contributors","subscribers_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/subscribers","subscription_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/subscription","commits_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/contents/{+path}","compare_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/merges","archive_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/downloads","issues_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/issues{/number}","pulls_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/pulls{/number}","milestones_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/milestones{/number}","notifications_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/labels{/name}","releases_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/releases{/id}","deployments_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/deployments","created_at":"2016-03-03T10:50:13Z","updated_at":"2016-03-10T04:48:43Z","pushed_at":"2016-03-22T09:51:45Z","git_url":"git://github.com/urfu-2015/webdev-tasks-3.git","ssh_url":"git@github.com:urfu-2015/webdev-tasks-3.git","clone_url":"https://github.com/urfu-2015/webdev-tasks-3.git","svn_url":"https://github.com/urfu-2015/webdev-tasks-3","homepage":"","size":2,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":12,"forks":33,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/pulls/2"},"html":{"href":"https://github.com/urfu-2015/webdev-tasks-3/pull/2"},"issue":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/issues/2"},"comments":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-3/statuses/75d74fab8e23c23414cb9033a8b1aab2e60839af"}}}}