Skip to content

Commit

Permalink
feat(package): add test:client script
Browse files Browse the repository at this point in the history
  • Loading branch information
Awk34 committed Oct 12, 2017
1 parent 8f55a8c commit 9be904d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions templates/app/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@
},
"scripts": {
"test": "gulp test",
"test:client": "karma start ./karma.conf.js --single-run",
<%_ if(filters.flow) { -%>
"flow": "flow",
<%_ } -%>
Expand Down
2 changes: 1 addition & 1 deletion templates/app/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// http://karma-runner.github.io/0.13/config/configuration-file.html
/*eslint-env node*/

import makeWebpackConfig from './webpack.make';
const makeWebpackConfig = require('./webpack.make');

module.exports = function(config) {
config.set({
Expand Down

0 comments on commit 9be904d

Please sign in to comment.