https://cypress.io logo
How to add `@cypress/code-coverage` to my Typescri...
# i-need-help
k
Hello! In my Typescript Cypress project where we test client SDK functions we are trying to add
@cypress/code-coverage
library to retrieve current code coverage for these tests. I was able to successfully add
@cypress/code-coverage
library, but was getting an error shown in the screenshot. After digging deeper into
@cypress/code-coverage
readme noticed this error could be shown if there is NO frontend code coverage, is this the case in my situation or do I need to add some extra libraries? Also tried to set
expectBackendCoverageOnly: true
to get rid of the error, but not sure what I am supposed to set as my url in this case is there extra code needed on clients side of the code?