mirror of https://github.com/waku-org/js-waku.git
chore: remove unused test configs
This commit is contained in:
parent
985dcb6414
commit
f2706c21b6
|
@ -1,11 +0,0 @@
|
||||||
{
|
|
||||||
"extension": ["ts"],
|
|
||||||
"spec": "src/**/*.spec.ts",
|
|
||||||
"require": ["ts-node/register", "isomorphic-fetch", "jsdom-global/register"],
|
|
||||||
"loader": "ts-node/esm",
|
|
||||||
"node-option": [
|
|
||||||
"experimental-specifier-resolution=node",
|
|
||||||
"loader=ts-node/esm"
|
|
||||||
],
|
|
||||||
"exit": true
|
|
||||||
}
|
|
|
@ -1,45 +0,0 @@
|
||||||
process.env.CHROME_BIN = require("puppeteer").executablePath();
|
|
||||||
const webpack = require("webpack");
|
|
||||||
|
|
||||||
module.exports = function (config) {
|
|
||||||
config.set({
|
|
||||||
frameworks: ["webpack", "mocha"],
|
|
||||||
files: ["src/**/*.ts"],
|
|
||||||
preprocessors: {
|
|
||||||
"src/**/*.ts": ["webpack"],
|
|
||||||
},
|
|
||||||
envPreprocessor: ["CI"],
|
|
||||||
reporters: ["progress"],
|
|
||||||
browsers: ["ChromeHeadless"],
|
|
||||||
singleRun: true,
|
|
||||||
client: {
|
|
||||||
mocha: {
|
|
||||||
timeout: 6000, // Default is 2s
|
|
||||||
},
|
|
||||||
},
|
|
||||||
webpack: {
|
|
||||||
mode: "development",
|
|
||||||
module: {
|
|
||||||
rules: [{ test: /\.([cm]?ts|tsx)$/, loader: "ts-loader" }],
|
|
||||||
},
|
|
||||||
plugins: [
|
|
||||||
new webpack.DefinePlugin({
|
|
||||||
"process.env.CI": process.env.CI || false,
|
|
||||||
}),
|
|
||||||
new webpack.ProvidePlugin({
|
|
||||||
process: "process/browser.js",
|
|
||||||
}),
|
|
||||||
],
|
|
||||||
resolve: {
|
|
||||||
extensions: [".ts", ".tsx", ".js"],
|
|
||||||
extensionAlias: {
|
|
||||||
".js": [".js", ".ts"],
|
|
||||||
".cjs": [".cjs", ".cts"],
|
|
||||||
".mjs": [".mjs", ".mts"],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
stats: { warnings: false },
|
|
||||||
devtool: "inline-source-map",
|
|
||||||
},
|
|
||||||
});
|
|
||||||
};
|
|
Loading…
Reference in New Issue