{"action":"closed","issue":{"url":"https://api.github.com/repos/sindresorhus/ava/issues/156","labels_url":"https://api.github.com/repos/sindresorhus/ava/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/ava/issues/156/comments","events_url":"https://api.github.com/repos/sindresorhus/ava/issues/156/events","html_url":"https://github.com/sindresorhus/ava/issues/156","id":115693710,"number":156,"title":"add `test.require()` which is equivalent to require with babel hook","user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-07T21:37:52Z","updated_at":"2015-11-08T00:16:57Z","closed_at":"2015-11-08T00:16:57Z","body":"We are doing all this work to ensure babel does not leak into any file but the test file, but there is a downside for \"helper\" files, etc.\r\n\r\nThe other option would be to hook require and make them provide some sort of `include` / `exclude` glob. "}}