{"action":"created","issue":{"url":"https://api.github.com/repos/Workiva/karma-jspm/issues/91","labels_url":"https://api.github.com/repos/Workiva/karma-jspm/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/Workiva/karma-jspm/issues/91/comments","events_url":"https://api.github.com/repos/Workiva/karma-jspm/issues/91/events","html_url":"https://github.com/Workiva/karma-jspm/issues/91","id":102032153,"number":91,"title":"baseURL in config.js causes 404s","user":{"login":"richburdon","id":3523355,"avatar_url":"https://avatars.githubusercontent.com/u/3523355?v=3","gravatar_id":"","url":"https://api.github.com/users/richburdon","html_url":"https://github.com/richburdon","followers_url":"https://api.github.com/users/richburdon/followers","following_url":"https://api.github.com/users/richburdon/following{/other_user}","gists_url":"https://api.github.com/users/richburdon/gists{/gist_id}","starred_url":"https://api.github.com/users/richburdon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richburdon/subscriptions","organizations_url":"https://api.github.com/users/richburdon/orgs","repos_url":"https://api.github.com/users/richburdon/repos","events_url":"https://api.github.com/users/richburdon/events{/privacy}","received_events_url":"https://api.github.com/users/richburdon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-08-20T00:48:35Z","updated_at":"2015-12-18T17:20:09Z","closed_at":null,"body":"Struggling with the lack of documentation or working example:\r\n\r\nI can't tell if this is the same issue a bunch of people seem to be having (https://github.com/Workiva/karma-jspm/issues/68)\r\n\r\nI have a baseURL spec in my config.js; this is my global config, so I don't want to change it for the sake of karma (I'm assuming the intent is that karma-jspm should be made to work with the same runtime config?)\r\n\r\n    System.config({\r\n      \"baseURL\": \"/js\",\r\n\r\nSo in my karma.conf.js:\r\n\r\n    \"jspm\": {\r\n      \"loadFiles\": [\r\n        \"app/testing/**/*.js\"\r\n      ],\r\n\r\nBut I get 404s\r\n\r\n    [web-server]: 404: /js/app/testing/sandbox.js\r\n\r\nBy trial and error changing \"paths\" and \"proxies\" I can get different errors, but no solution. E.g., \r\n\r\n      \"paths\": {\r\n        \"*\": \"../*.js\"      // Counteract the \"/js\" config.js baseURL?\r\n      }\r\n\r\n    [web-server]: 404: /app/testing/sandbox.js\r\n\r\nThe docs are not clear about how this is supposed to work.\r\n"},"comment":{"url":"https://api.github.com/repos/Workiva/karma-jspm/issues/comments/165845229","html_url":"https://github.com/Workiva/karma-jspm/issues/91#issuecomment-165845229","issue_url":"https://api.github.com/repos/Workiva/karma-jspm/issues/91","id":165845229,"user":{"login":"chauthai","id":5654065,"avatar_url":"https://avatars.githubusercontent.com/u/5654065?v=3","gravatar_id":"","url":"https://api.github.com/users/chauthai","html_url":"https://github.com/chauthai","followers_url":"https://api.github.com/users/chauthai/followers","following_url":"https://api.github.com/users/chauthai/following{/other_user}","gists_url":"https://api.github.com/users/chauthai/gists{/gist_id}","starred_url":"https://api.github.com/users/chauthai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chauthai/subscriptions","organizations_url":"https://api.github.com/users/chauthai/orgs","repos_url":"https://api.github.com/users/chauthai/repos","events_url":"https://api.github.com/users/chauthai/events{/privacy}","received_events_url":"https://api.github.com/users/chauthai/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T17:20:09Z","updated_at":"2015-12-18T17:20:09Z","body":"@tkhyn I can validate your findings! After I tried a whole week to get karma-jspm to run with my React setup, I tried your approach and now all tests run smoothly.\r\nThanks a lot. \r\nThe paths settings in the karma config for jspm are not working as intended. \r\nYou can see my config file in issue #83."}}