title: How to get performance metrics from Cypress.io and react.js
body: <p>I am using an app created in React.js. I used, lighthouse and puppeteer for performance testing. There I am getting performance metrics and code coverage both.</p>
  
  <p>Now, the requirement is to do performance test with Cypress.io. I am able to perform unit tests for all files. But, when I am looking for code coverage I am getting response: </p>
  
  <p><a href="https://i.stack.imgur.com/wlcuJ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/wlcuJ.png" alt="enter image description here"></a></p>
  
  <p>I used the following code for code coverage:
  //plugins/index.js</p>
  
  <pre><code>module.exports = (on, config) =&gt; {
      // `on` is used to hook into various events Cypress emits
      // `config` is the resolved Cypress config
      on('task', require('@cypress/code-coverage/task'))
  }
  </code></pre>
  
  <p>//support/index.js</p>
  
  <pre><code>import '@cypress/code-coverage/support'
  </code></pre>
  
  <p>Requirement:</p>
  
  <ol>
  <li>I am getting unit tests passed on cypress. But, not able to get anything on code coverage. </li>
  <li>Generate performance metrics similar to lighthouse/puppeteer provides.</li>
  </ol>
  
  <p>Please suggest anything which can help me in this situation. any help will be much appreciated.</p>