Skip to content

Commit

Permalink
fix(karma): removing baseURL from config.js for karma-jspm to work
Browse files Browse the repository at this point in the history
  • Loading branch information
pathes committed Mar 19, 2016
1 parent 4ddcd63 commit 1c61b0f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
System.config({
baseURL: "/",
defaultJSExtensions: true,
transpiler: "babel",
babelOptions: {
Expand Down
6 changes: 5 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ module.exports = function(config) {
],

jspm: {
config: 'config.js',
packages: 'jspm_packages/',
useBundles: true,
loadFiles: [
'js/**/*.js',
'js/**/*.spec.js',
],
serveFiles: [
'js/**/*.js',
],
},


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"karma": "^0.12.33",
"karma-chrome-launcher": "^0.1.12",
"karma-jasmine": "^0.2.2",
"karma-jspm": "^1.1.5",
"karma-jspm": "^2.0.1",
"karma-spec-reporter": "0.0.23"
}
}

0 comments on commit 1c61b0f

Please sign in to comment.