Skip to content

Commit

Permalink
Added build before start testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dyuvzhenko committed Nov 11, 2017
1 parent ef1a67f commit 5f0a6ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"test": "grunt test",
"dev": "concurrently --kill-others --raw \"grunt server\" \"grunt test\"",
"build": "grunt build",
"webpack-test": "karma start test/config/karma.conf.js --single-run"
"webpack-test": "webpack --config webpack/config.js && karma start test/config/karma.conf.js --single-run"
},
"devDependencies": {
"babel-core": "^6.22.1",
Expand Down
4 changes: 2 additions & 2 deletions webpack/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ module.exports = {
path: path.join(__dirname, '../temp'),
filename: '[name].js'
},
// cache: false,
// devtool: 'source-map',
cache: false,
devtool: 'source-map',
module: {
loaders: [{
test: /\.js$/,
Expand Down

0 comments on commit 5f0a6ae

Please sign in to comment.