{"action":"created","issue":{"url":"https://api.github.com/repos/nikku/karma-browserify/issues/32","repository_url":"https://api.github.com/repos/nikku/karma-browserify","labels_url":"https://api.github.com/repos/nikku/karma-browserify/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/nikku/karma-browserify/issues/32/comments","events_url":"https://api.github.com/repos/nikku/karma-browserify/issues/32/events","html_url":"https://github.com/nikku/karma-browserify/issues/32","id":45563864,"number":32,"title":"Passing paths option ","user":{"login":"maxcal","id":765647,"avatar_url":"https://avatars.githubusercontent.com/u/765647?v=3","gravatar_id":"","url":"https://api.github.com/users/maxcal","html_url":"https://github.com/maxcal","followers_url":"https://api.github.com/users/maxcal/followers","following_url":"https://api.github.com/users/maxcal/following{/other_user}","gists_url":"https://api.github.com/users/maxcal/gists{/gist_id}","starred_url":"https://api.github.com/users/maxcal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxcal/subscriptions","organizations_url":"https://api.github.com/users/maxcal/orgs","repos_url":"https://api.github.com/users/maxcal/repos","events_url":"https://api.github.com/users/maxcal/events{/privacy}","received_events_url":"https://api.github.com/users/maxcal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nikku/karma-browserify/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-10-11T22:23:28Z","updated_at":"2016-03-22T10:01:28Z","closed_at":"2014-10-11T23:16:07Z","body":"Is it possible to pass the paths option to browserify? \r\n\r\nI´m trying to get a previous setup with `gulp-mocha` running where I have my sources in `js/src/myapp`.\r\nAnd I require the files under test without the relative path: `require('myapp/foo')`.\r\n\r\nI have tried adding: \r\n```JAVASCRIPT\r\n// karma.conf.js\r\nmodule.exports = function(config) {\r\n  config.set({\r\n   \r\n   // ...\r\n   \r\n   browserify: {\r\n        debug: true,\r\n        paths: ['./src/js']\r\n    }, \r\n   });\r\n};\r\n```\r\nAnd also adding the option to `package.json`. But browserify does´nt pick up the paths. Any ideas?\r\n"},"comment":{"url":"https://api.github.com/repos/nikku/karma-browserify/issues/comments/199728569","html_url":"https://github.com/nikku/karma-browserify/issues/32#issuecomment-199728569","issue_url":"https://api.github.com/repos/nikku/karma-browserify/issues/32","id":199728569,"user":{"login":"nikku","id":58601,"avatar_url":"https://avatars.githubusercontent.com/u/58601?v=3","gravatar_id":"","url":"https://api.github.com/users/nikku","html_url":"https://github.com/nikku","followers_url":"https://api.github.com/users/nikku/followers","following_url":"https://api.github.com/users/nikku/following{/other_user}","gists_url":"https://api.github.com/users/nikku/gists{/gist_id}","starred_url":"https://api.github.com/users/nikku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikku/subscriptions","organizations_url":"https://api.github.com/users/nikku/orgs","repos_url":"https://api.github.com/users/nikku/repos","events_url":"https://api.github.com/users/nikku/events{/privacy}","received_events_url":"https://api.github.com/users/nikku/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T10:01:28Z","updated_at":"2016-03-22T10:01:28Z","body":"It works out of the box ([example](https://github.com/bpmn-io/bpmn-js/blob/master/test/config/karma.unit.js#L42))."}}