Thomas Hoffmann
Thomas Hoffmann
Thanks for the reply. The problem with looping is that it creates a significant slowdown in compilation. With the grid framework I'm working on, I'm currently creating an adapter which...
I did some experimentation with different methods and found methods 3 and 4 to be far more efficient when dealing with larger loops. In fact, with every level of nesting...
UPDATE: After a bit of digging, I've found that the window.__coverage__ object is missing from the output of the `mount()` function used in mounting React components. So it looks like...
I've tried using the `browserify` pre-processor with the `use-browserify-istanbul` plugin added `onBundle` but still no effect: ``` const injectDevServer = require('@cypress/react/plugins/react-scripts') const browserify = require('@cypress/browserify-preprocessor') module.exports = (on, config) =>...
Okay, I've resolved my issue! Following the docs, you most likely end up with a `plugins/index.js` file which looks like this: ``` // cypress/plugins/index.js const injectDevServer = require('@cypress/react/plugins/react-scripts') module.exports =...
> @twhoff thank you so much for this post! Just got coverage working for my component tests using your strat here :) Glad I could help!
Hi Chris, saw your comment. I had a look at your code base and wonder if you might be missing `babel-plugin-istanbul` - I think you need to include it as...