diff --git a/karma.conf.js b/karma.conf.js index c624729..f85f1d0 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -89,7 +89,7 @@ var webpackConfig = require("./webpack.config.js"); module.exports = function (config) { var configuration = { - basePath: '../angular-theme', + basePath: './', files: listFiles(), @@ -144,14 +144,14 @@ module.exports = function (config) { } };*/ /*configuration.webpack = _.merge({ - + }, webpackConfig, { devtool: 'source-map' }), configuration.webpackServer = { quite: true };*/ - + // This is the default preprocessors configuration for a usage with Karma cli // The coverage preprocessor is added in gulp/unit-test.js only for single tests // It was not possible to do it there because karma doesn't let us now if we are diff --git a/package.json b/package.json index 3b3e17a..b13bb2b 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "moment": "^2.11.2" }, "scripts": { + "webpack": "webpack", "karma": "karma", "coverage": "karma start --single-run; npm run remap-coverage", "remap-coverage": "ts-node --project ./dev-scripts ./dev-scripts/remapCoverage.ts", -- libgit2 0.21.2