{"action":"closed","number":2069,"pull_request":{"url":"https://api.github.com/repos/mochajs/mocha/pulls/2069","id":57212861,"html_url":"https://github.com/mochajs/mocha/pull/2069","diff_url":"https://github.com/mochajs/mocha/pull/2069.diff","patch_url":"https://github.com/mochajs/mocha/pull/2069.patch","issue_url":"https://api.github.com/repos/mochajs/mocha/issues/2069","number":2069,"state":"closed","locked":false,"title":"(Issue #2063) proposal for asynchronous require when using --delay","user":{"login":"sa-0001","id":4160233,"avatar_url":"https://avatars2.githubusercontent.com/u/4160233?v=4","gravatar_id":"","url":"https://api.github.com/users/sa-0001","html_url":"https://github.com/sa-0001","followers_url":"https://api.github.com/users/sa-0001/followers","following_url":"https://api.github.com/users/sa-0001/following{/other_user}","gists_url":"https://api.github.com/users/sa-0001/gists{/gist_id}","starred_url":"https://api.github.com/users/sa-0001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa-0001/subscriptions","organizations_url":"https://api.github.com/users/sa-0001/orgs","repos_url":"https://api.github.com/users/sa-0001/repos","events_url":"https://api.github.com/users/sa-0001/events{/privacy}","received_events_url":"https://api.github.com/users/sa-0001/received_events","type":"User","site_admin":false},"body":"This is how I have locally solved the issue I created (https://github.com/mochajs/mocha/issues/2063).\n\nIf this change would affect other features or cause other problems I am not aware I would appreciate feedback on how I can improve it; otherwise for my specific case I have tested the changes and calling run() in each file causes the next file in sequence to be required, or the root suite to run if all files have been required.\n\n<!-- Reviewable:start -->\n\n[<img src=\"https://reviewable.io/review_button.svg\" height=\"40\" alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/mochajs/mocha/2069)\n\n<!-- Reviewable:end -->\n","created_at":"2016-01-26T13:53:13Z","updated_at":"2018-04-07T22:52:01Z","closed_at":"2018-04-07T22:52:01Z","merged_at":null,"merge_commit_sha":"ee6697bd5bb8663ac62989c3f91b6084479c4c8c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":432490747,"url":"https://api.github.com/repos/mochajs/mocha/labels/needs-review","name":"needs-review","color":"E07463","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mochajs/mocha/pulls/2069/commits","review_comments_url":"https://api.github.com/repos/mochajs/mocha/pulls/2069/comments","review_comment_url":"https://api.github.com/repos/mochajs/mocha/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mochajs/mocha/issues/2069/comments","statuses_url":"https://api.github.com/repos/mochajs/mocha/statuses/3987f408e9e289de6b9c74b778db2bdd648bf51c","head":{"label":"sa-0001:master","ref":"master","sha":"3987f408e9e289de6b9c74b778db2bdd648bf51c","user":{"login":"sa-0001","id":4160233,"avatar_url":"https://avatars2.githubusercontent.com/u/4160233?v=4","gravatar_id":"","url":"https://api.github.com/users/sa-0001","html_url":"https://github.com/sa-0001","followers_url":"https://api.github.com/users/sa-0001/followers","following_url":"https://api.github.com/users/sa-0001/following{/other_user}","gists_url":"https://api.github.com/users/sa-0001/gists{/gist_id}","starred_url":"https://api.github.com/users/sa-0001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa-0001/subscriptions","organizations_url":"https://api.github.com/users/sa-0001/orgs","repos_url":"https://api.github.com/users/sa-0001/repos","events_url":"https://api.github.com/users/sa-0001/events{/privacy}","received_events_url":"https://api.github.com/users/sa-0001/received_events","type":"User","site_admin":false},"repo":{"id":50429982,"name":"mocha","full_name":"sa-0001/mocha","owner":{"login":"sa-0001","id":4160233,"avatar_url":"https://avatars2.githubusercontent.com/u/4160233?v=4","gravatar_id":"","url":"https://api.github.com/users/sa-0001","html_url":"https://github.com/sa-0001","followers_url":"https://api.github.com/users/sa-0001/followers","following_url":"https://api.github.com/users/sa-0001/following{/other_user}","gists_url":"https://api.github.com/users/sa-0001/gists{/gist_id}","starred_url":"https://api.github.com/users/sa-0001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa-0001/subscriptions","organizations_url":"https://api.github.com/users/sa-0001/orgs","repos_url":"https://api.github.com/users/sa-0001/repos","events_url":"https://api.github.com/users/sa-0001/events{/privacy}","received_events_url":"https://api.github.com/users/sa-0001/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sa-0001/mocha","description":"mocha - simple, flexible, fun javascript test framework for node.js & the browser. (BDD, TDD, QUnit styles via interfaces)","fork":true,"url":"https://api.github.com/repos/sa-0001/mocha","forks_url":"https://api.github.com/repos/sa-0001/mocha/forks","keys_url":"https://api.github.com/repos/sa-0001/mocha/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sa-0001/mocha/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sa-0001/mocha/teams","hooks_url":"https://api.github.com/repos/sa-0001/mocha/hooks","issue_events_url":"https://api.github.com/repos/sa-0001/mocha/issues/events{/number}","events_url":"https://api.github.com/repos/sa-0001/mocha/events","assignees_url":"https://api.github.com/repos/sa-0001/mocha/assignees{/user}","branches_url":"https://api.github.com/repos/sa-0001/mocha/branches{/branch}","tags_url":"https://api.github.com/repos/sa-0001/mocha/tags","blobs_url":"https://api.github.com/repos/sa-0001/mocha/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sa-0001/mocha/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sa-0001/mocha/git/refs{/sha}","trees_url":"https://api.github.com/repos/sa-0001/mocha/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sa-0001/mocha/statuses/{sha}","languages_url":"https://api.github.com/repos/sa-0001/mocha/languages","stargazers_url":"https://api.github.com/repos/sa-0001/mocha/stargazers","contributors_url":"https://api.github.com/repos/sa-0001/mocha/contributors","subscribers_url":"https://api.github.com/repos/sa-0001/mocha/subscribers","subscription_url":"https://api.github.com/repos/sa-0001/mocha/subscription","commits_url":"https://api.github.com/repos/sa-0001/mocha/commits{/sha}","git_commits_url":"https://api.github.com/repos/sa-0001/mocha/git/commits{/sha}","comments_url":"https://api.github.com/repos/sa-0001/mocha/comments{/number}","issue_comment_url":"https://api.github.com/repos/sa-0001/mocha/issues/comments{/number}","contents_url":"https://api.github.com/repos/sa-0001/mocha/contents/{+path}","compare_url":"https://api.github.com/repos/sa-0001/mocha/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sa-0001/mocha/merges","archive_url":"https://api.github.com/repos/sa-0001/mocha/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sa-0001/mocha/downloads","issues_url":"https://api.github.com/repos/sa-0001/mocha/issues{/number}","pulls_url":"https://api.github.com/repos/sa-0001/mocha/pulls{/number}","milestones_url":"https://api.github.com/repos/sa-0001/mocha/milestones{/number}","notifications_url":"https://api.github.com/repos/sa-0001/mocha/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sa-0001/mocha/labels{/name}","releases_url":"https://api.github.com/repos/sa-0001/mocha/releases{/id}","deployments_url":"https://api.github.com/repos/sa-0001/mocha/deployments","created_at":"2016-01-26T13:23:33Z","updated_at":"2016-01-26T13:23:34Z","pushed_at":"2016-01-26T14:19:04Z","git_url":"git://github.com/sa-0001/mocha.git","ssh_url":"git@github.com:sa-0001/mocha.git","clone_url":"https://github.com/sa-0001/mocha.git","svn_url":"https://github.com/sa-0001/mocha","homepage":"http://mochajs.org","size":2959,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mochajs:master","ref":"master","sha":"a25ac95640214ca3d6f2e9a06df89f4985c5e345","user":{"login":"mochajs","id":8770005,"avatar_url":"https://avatars2.githubusercontent.com/u/8770005?v=4","gravatar_id":"","url":"https://api.github.com/users/mochajs","html_url":"https://github.com/mochajs","followers_url":"https://api.github.com/users/mochajs/followers","following_url":"https://api.github.com/users/mochajs/following{/other_user}","gists_url":"https://api.github.com/users/mochajs/gists{/gist_id}","starred_url":"https://api.github.com/users/mochajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mochajs/subscriptions","organizations_url":"https://api.github.com/users/mochajs/orgs","repos_url":"https://api.github.com/users/mochajs/repos","events_url":"https://api.github.com/users/mochajs/events{/privacy}","received_events_url":"https://api.github.com/users/mochajs/received_events","type":"Organization","site_admin":false},"repo":{"id":1451352,"name":"mocha","full_name":"mochajs/mocha","owner":{"login":"mochajs","id":8770005,"avatar_url":"https://avatars2.githubusercontent.com/u/8770005?v=4","gravatar_id":"","url":"https://api.github.com/users/mochajs","html_url":"https://github.com/mochajs","followers_url":"https://api.github.com/users/mochajs/followers","following_url":"https://api.github.com/users/mochajs/following{/other_user}","gists_url":"https://api.github.com/users/mochajs/gists{/gist_id}","starred_url":"https://api.github.com/users/mochajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mochajs/subscriptions","organizations_url":"https://api.github.com/users/mochajs/orgs","repos_url":"https://api.github.com/users/mochajs/repos","events_url":"https://api.github.com/users/mochajs/events{/privacy}","received_events_url":"https://api.github.com/users/mochajs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mochajs/mocha","description":"☕️ simple, flexible, fun javascript test framework for node.js & the browser","fork":false,"url":"https://api.github.com/repos/mochajs/mocha","forks_url":"https://api.github.com/repos/mochajs/mocha/forks","keys_url":"https://api.github.com/repos/mochajs/mocha/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mochajs/mocha/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mochajs/mocha/teams","hooks_url":"https://api.github.com/repos/mochajs/mocha/hooks","issue_events_url":"https://api.github.com/repos/mochajs/mocha/issues/events{/number}","events_url":"https://api.github.com/repos/mochajs/mocha/events","assignees_url":"https://api.github.com/repos/mochajs/mocha/assignees{/user}","branches_url":"https://api.github.com/repos/mochajs/mocha/branches{/branch}","tags_url":"https://api.github.com/repos/mochajs/mocha/tags","blobs_url":"https://api.github.com/repos/mochajs/mocha/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mochajs/mocha/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mochajs/mocha/git/refs{/sha}","trees_url":"https://api.github.com/repos/mochajs/mocha/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mochajs/mocha/statuses/{sha}","languages_url":"https://api.github.com/repos/mochajs/mocha/languages","stargazers_url":"https://api.github.com/repos/mochajs/mocha/stargazers","contributors_url":"https://api.github.com/repos/mochajs/mocha/contributors","subscribers_url":"https://api.github.com/repos/mochajs/mocha/subscribers","subscription_url":"https://api.github.com/repos/mochajs/mocha/subscription","commits_url":"https://api.github.com/repos/mochajs/mocha/commits{/sha}","git_commits_url":"https://api.github.com/repos/mochajs/mocha/git/commits{/sha}","comments_url":"https://api.github.com/repos/mochajs/mocha/comments{/number}","issue_comment_url":"https://api.github.com/repos/mochajs/mocha/issues/comments{/number}","contents_url":"https://api.github.com/repos/mochajs/mocha/contents/{+path}","compare_url":"https://api.github.com/repos/mochajs/mocha/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mochajs/mocha/merges","archive_url":"https://api.github.com/repos/mochajs/mocha/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mochajs/mocha/downloads","issues_url":"https://api.github.com/repos/mochajs/mocha/issues{/number}","pulls_url":"https://api.github.com/repos/mochajs/mocha/pulls{/number}","milestones_url":"https://api.github.com/repos/mochajs/mocha/milestones{/number}","notifications_url":"https://api.github.com/repos/mochajs/mocha/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mochajs/mocha/labels{/name}","releases_url":"https://api.github.com/repos/mochajs/mocha/releases{/id}","deployments_url":"https://api.github.com/repos/mochajs/mocha/deployments","created_at":"2011-03-07T18:44:25Z","updated_at":"2018-04-07T22:44:13Z","pushed_at":"2018-04-07T22:44:08Z","git_url":"git://github.com/mochajs/mocha.git","ssh_url":"git@github.com:mochajs/mocha.git","clone_url":"https://github.com/mochajs/mocha.git","svn_url":"https://github.com/mochajs/mocha","homepage":"https://mochajs.org","size":9053,"stargazers_count":15081,"watchers_count":15081,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2115,"mirror_url":null,"archived":false,"open_issues_count":294,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2115,"open_issues":294,"watchers":15081,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mochajs/mocha/pulls/2069"},"html":{"href":"https://github.com/mochajs/mocha/pull/2069"},"issue":{"href":"https://api.github.com/repos/mochajs/mocha/issues/2069"},"comments":{"href":"https://api.github.com/repos/mochajs/mocha/issues/2069/comments"},"review_comments":{"href":"https://api.github.com/repos/mochajs/mocha/pulls/2069/comments"},"review_comment":{"href":"https://api.github.com/repos/mochajs/mocha/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mochajs/mocha/pulls/2069/commits"},"statuses":{"href":"https://api.github.com/repos/mochajs/mocha/statuses/3987f408e9e289de6b9c74b778db2bdd648bf51c"}},"author_association":"NONE","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":68,"deletions":2,"changed_files":3}}
{"actor":{"display_login":"boneskull"}}