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

Unused files warning #27452

Open
andreaslarssen opened this issue Aug 3, 2023 · 3 comments
Open

Unused files warning #27452

andreaslarssen opened this issue Aug 3, 2023 · 3 comments
Labels
stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period topic: typescript

Comments

@andreaslarssen
Copy link

andreaslarssen commented Aug 3, 2023

Current behavior

When the running command for component tests, I get several warnings like this:

[filename].ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

I've tried to resolve it by modifying my ts.config file, but nothing seems to help. When looking around to find a solution, I came across this video from ng-conf. If you see around the e 17:58 mark, you'll notice that Jordan has the same issue as well.

Desired behavior

Not complain

Test code to reproduce

Set up the component tests through the GUI

Cypress Version

12.17.2

Node version

v16.17.1

Operating System

Win10

Debug Logs

No response

Other

No response

@nagash77
Copy link
Contributor

nagash77 commented Aug 4, 2023

@andreaslarssen , just to confirm you are seeing warnings only correct? Are these messages impeding your ability to run tests?

@andreaslarssen
Copy link
Author

@nagash77 Yes, no

@jennifer-shehane jennifer-shehane added CT Issue related to component testing stage: needs investigating Someone from Cypress needs to look at this labels Dec 17, 2023
@jennifer-shehane jennifer-shehane added topic: typescript and removed CT Issue related to component testing labels May 15, 2024
@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: needs investigating Someone from Cypress needs to look at this stale no activity on this issue for a long period topic: typescript
Projects
None yet
Development

No branches or pull requests

4 participants