This repository has been archived on 2023-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
2020-01-31 10:17:26 +00:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
|
|
const webpackConfig = require("./webpack.config");
|
|
|
|
|
2020-11-25 15:16:19 +00:00
|
|
|
module.exports = function(config) {
|
|
|
|
config.set({
|
2020-01-31 10:17:26 +00:00
|
|
|
|
2020-11-25 15:16:19 +00:00
|
|
|
basePath: "",
|
|
|
|
frameworks: ["mocha", "chai"],
|
2020-11-30 16:12:18 +00:00
|
|
|
files: ["test/unit/run-web-implementation.test.ts", "test/unit/index-named-exports.test.ts"],
|
2020-11-25 15:16:19 +00:00
|
|
|
exclude: [],
|
|
|
|
preprocessors: {
|
|
|
|
"test/**/*.ts": ["webpack"]
|
|
|
|
},
|
|
|
|
webpack: {
|
|
|
|
mode: "production",
|
|
|
|
node: webpackConfig.node,
|
|
|
|
module: webpackConfig.module,
|
|
|
|
resolve: webpackConfig.resolve
|
|
|
|
},
|
|
|
|
reporters: ["spec"],
|
2020-01-31 10:17:26 +00:00
|
|
|
|
2020-11-25 15:16:19 +00:00
|
|
|
browsers: ["ChromeHeadless"],
|
|
|
|
|
|
|
|
singleRun: true
|
|
|
|
});
|
2020-11-30 16:12:18 +00:00
|
|
|
};
|