babel-plugin-istanbul icon indicating copy to clipboard operation
babel-plugin-istanbul copied to clipboard

Getting code coverage from individual micro frontend

Open omkar-nath opened this issue 2 years ago • 0 comments

Hi, Apologies If I am lacking any understanding.

I instrumented our micro-frontend code. But when I am testing it in the shell layer, I am getting error that the the code is not instrumented. The reason which I can think of for this is till the time I navigate to my microfrontend using cy.visit the '@cypress/code-coverage/' plugin already started searching for the global.coverage variable which is not available currently and it only gets set when we visit our microfrontend app.

omkar-nath avatar Mar 17 '22 06:03 omkar-nath