Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update badge fails if both e2e and component are not part of cypress.config.{js,ts} #234

Open
samtsai opened this issue Feb 7, 2024 · 1 comment

Comments

@samtsai
Copy link
Contributor

samtsai commented Feb 7, 2024

Run: npx find-cypress-specs --test-counts --update-badge

Expected

New badge is created.

Actual

If either e2e or component is missing from cypress.config.ts file then an error will be thrown:
Error: Missing "component" object in the Cypress config object

@bahmutov
Copy link
Owner

bahmutov commented Mar 4, 2024

Can you provide a small reproducible example? And/Or debug logs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants