{"action":"opened","issue":{"url":"https://api.github.com/repos/mcfly-io/generator-mcfly/issues/243","labels_url":"https://api.github.com/repos/mcfly-io/generator-mcfly/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/mcfly-io/generator-mcfly/issues/243/comments","events_url":"https://api.github.com/repos/mcfly-io/generator-mcfly/issues/243/events","html_url":"https://github.com/mcfly-io/generator-mcfly/issues/243","id":104458069,"number":243,"title":"Make mocking dependencies easier in tests by proxying requires","user":{"login":"jskrzypek","id":1513265,"avatar_url":"https://avatars.githubusercontent.com/u/1513265?v=3","gravatar_id":"","url":"https://api.github.com/users/jskrzypek","html_url":"https://github.com/jskrzypek","followers_url":"https://api.github.com/users/jskrzypek/followers","following_url":"https://api.github.com/users/jskrzypek/following{/other_user}","gists_url":"https://api.github.com/users/jskrzypek/gists{/gist_id}","starred_url":"https://api.github.com/users/jskrzypek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jskrzypek/subscriptions","organizations_url":"https://api.github.com/users/jskrzypek/orgs","repos_url":"https://api.github.com/users/jskrzypek/repos","events_url":"https://api.github.com/users/jskrzypek/events{/privacy}","received_events_url":"https://api.github.com/users/jskrzypek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-02T11:18:36Z","updated_at":"2015-09-02T11:18:36Z","closed_at":null,"body":"We should be able to use https://github.com/thlorenz/proxyquireify (maybe via https://github.com/bendrucker/proxyquire-universal) for browserify and https://github.com/plasticine/inject-loader for webpack to make it easy to mock dependencies in our test files.  "}}