cypress-io / cypress-documentation

Cypress Documentation including Guides, API, Plugins, Examples, & FAQ.
https://docs.cypress.io
MIT License
940 stars 1.04k forks source link

Code Coverage TypeScript #5866

Open moritz-baecker-integra opened 3 months ago

moritz-baecker-integra commented 3 months ago

Subject

guides, plugins, examples

Description

The documentation about the code coverage is a bit confusing and doesn't work for me if i try to do it with Vite and Vue 3 and TypeScript. There are no typescript examples. Also the typescript documentation seems to be outdated as well and not working anymore.

moritz-baecker-integra commented 3 months ago

This includes the examples: https://github.com/cypress-io/code-coverage/tree/master/test-apps/ts-example

When i create configuration files and configure my component tests i dont have a cypress-config.js i have a cypress.config.ts also i dont cypress/support/component.js i got a cypress/support/component.ts. This example is more confusing then helping.