Add nyc support

This commit is contained in:
Dolan
2018-10-26 20:11:40 +01:00
parent 83cab7563d
commit 9143c1c2c1
5 changed files with 46 additions and 8 deletions

View File

@ -20,6 +20,14 @@ module.exports = {
test: /\.ts$/,
loaders: ["awesome-typescript-loader"],
},
{
// For coverage testing
test: /\.(ts)/,
include: path.resolve("src"),
loader: "istanbul-instrumenter-loader",
enforce: "post",
exclude: [/node_modules/],
}
],
},