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