mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 17:23:00 +02:00
Converted mocha unit tests to run using mocha-webpack (mochapack) package
This commit is contained in:
@@ -9,9 +9,6 @@ module.exports = (env, argv) => {
|
||||
const outputDirectory = isDevServer ? "dist-dev" : "dist";
|
||||
const entries = {};
|
||||
entries[`${outputDirectory}/engine`] = "./src/engine.jsx";
|
||||
if (!isDevServer) {
|
||||
entries["test/tests"] = "./test/index.js";
|
||||
}
|
||||
|
||||
const statsConfig = {
|
||||
builtAt: true,
|
||||
@@ -73,9 +70,6 @@ module.exports = (env, argv) => {
|
||||
sortClassName: false,
|
||||
useShortDoctype: false
|
||||
},
|
||||
excludeChunks: [
|
||||
"test/tests"
|
||||
]
|
||||
}),
|
||||
new MiniCssExtractPlugin({
|
||||
filename: "[name].css"
|
||||
|
||||
Reference in New Issue
Block a user