babel-plugin-istanbul
babel-plugin-istanbul copied to clipboard
Getting code coverage from individual micro frontend
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.