Code coverage is missing for TS webpack in test runner
bahmutov opened this issue ยท comments
Commit cypress-io/cypress@e71885a
Have the same issue. Do you plan to add/fix this ?
So we will try to insert instrumentation plugin automatically, here is how I would fix it right now
// webpack config js file
rules: [
{
test: /\.(ts|tsx)$/,
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: [
'@babel/plugin-proposal-class-properties',
// we want to instrument unit tests on the fly
'babel-plugin-istanbul',
],
},
},
๐ This issue has been resolved in version 4.3.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐