Reduce karma.conf.js diff
This commit is contained in:
parent
4cb49674d5
commit
b424842cd5
|
@ -3,23 +3,24 @@ const webpackConfig = require("./webpack.config");
|
||||||
|
|
||||||
module.exports = function(config) {
|
module.exports = function(config) {
|
||||||
config.set({
|
config.set({
|
||||||
|
|
||||||
basePath: "",
|
basePath: "",
|
||||||
frameworks: ["mocha", "chai"],
|
frameworks: ["mocha", "chai"],
|
||||||
files: ["test/unit/*.ts"],
|
files: ["test/unit/run-web-implementation.test.ts"],
|
||||||
exclude: [],
|
exclude: [],
|
||||||
preprocessors: {
|
preprocessors: {
|
||||||
"test/unit/run-web-implementation.test.ts": ["webpack"],
|
"test/**/*.ts": ["webpack"]
|
||||||
},
|
},
|
||||||
webpack: {
|
webpack: {
|
||||||
mode: "production",
|
mode: "production",
|
||||||
node: webpackConfig.node,
|
node: webpackConfig.node,
|
||||||
module: webpackConfig.module,
|
module: webpackConfig.module,
|
||||||
resolve: webpackConfig.resolve,
|
resolve: webpackConfig.resolve
|
||||||
},
|
},
|
||||||
reporters: ["spec"],
|
reporters: ["spec"],
|
||||||
|
|
||||||
browsers: ["ChromeHeadless"],
|
browsers: ["ChromeHeadless"],
|
||||||
|
|
||||||
singleRun: true,
|
singleRun: true
|
||||||
});
|
});
|
||||||
};
|
};
|
Reference in New Issue