Files
Marcus LongmuirandGitHub 5dc6ef7dfa Fix CI & Remove Firefox 21 Tests (#909)
* Fix CI exit code reporting
* Simplify local integration test usage
* Fixed webpack compatibility with old browsers (safari 9)
* Upgrade karma
* Disabled websocket tests for old versions of firefox
* Removed firefox 21 due to SSL incompatibility
* Updated latest browser versions
* Revert "added websocket transport to cancel propagation test (#904)"
2021-03-16 10:18:48 +00:00

42 lines
818 B
TypeScript

const path = require("path");
const webpack = require("webpack");
module.exports = {
entry: "./src/spec.ts",
mode: "development",
target: "es5",
output: {
path: path.resolve(__dirname, "build"),
filename: "integration-tests.js"
},
plugins: [
new webpack.DefinePlugin({
"process.env": JSON.stringify(process.env),
}),
],
devtool: "source-map",
module: {
rules: [
{
test: /\.js$/,
include: /src/,
loader: "babel-loader",
exclude: /node_modules/
},
{
test: /\.ts$/,
include: [/src/, /_proto/],
exclude: /node_modules/,
loader: "ts-loader"
}
]
},
resolve: {
fallback: {
"http": false,
"https": false,
"url": false,
},
extensions: [".ts", ".js"]
}
};