'React Js and cypress coverage report

In my react js application i use cypress. Also i have in cypress folder components folder where i add all unit tests for my components. When i run cypress run-ct cypress creates a coverage report in html format, but in that files is the coverage not only for components tests but also there are even the components that are not located in components folder. Is there a solution to get the coverage only for the files that are included in components folder?
Cypress.json

 
 ...
 "component": {
    "componentFolder": "cypress/component",
    "testFiles": "**/*.spec.{js,tsx}",
  }


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source