Skip to content

Commit

Permalink
Use webpack for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Alferov committed Feb 25, 2016
1 parent 58d3965 commit 25f2283
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
module.exports = function(config) {
config.set({
basePath: './',
frameworks: ['jasmine', 'browserify'],
frameworks: ['jasmine'],
preprocessors: {
'src/**/*.js': ['browserify']
'src/**/*.js': ['webpack']
},
browsers: ['Chrome', 'Firefox'],
nyanReporter: {
Expand All @@ -14,10 +14,6 @@ module.exports = function(config) {
numberOfRainbowLines: 4
},
autoWatch: false,
browserify: {
debug: true,
transform: []
},
proxies: {
'/': 'http://localhost:9876/'
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@
"husky": "^0.9.3",
"jasmine-core": "^2.3.4",
"karma": "^0.13.9",
"karma-browserify": "^4.3.0",
"karma-chrome-launcher": "^0.2.0",
"karma-firefox-launcher": "^0.1.6",
"karma-jasmine": "^0.3.6",
"karma-webpack": "^1.7.0",
"run-sequence": "^1.1.2",
"webpack-stream": "^3.1.0"
},
Expand Down

0 comments on commit 25f2283

Please sign in to comment.