We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I added test files to ignore it, then some mocking functions used in tests are considered as unused. Is there way to work around it somehow?
Thanks
The text was updated successfully, but these errors were encountered:
Did you read the following https://knip.dev/guides/configuring-project-files and the pages it links to?
Not sure exactly what you're after but sounds like you're looking for production mode.
Sorry, something went wrong.
Yes, I forgot to mention I am in production mode.
Are you using the !test/mock.ts! pattern in project to exclude such files in production mode?
!test/mock.ts!
project
FYI, if this isn't helping, I'm going to need an actual reproduction to say something useful, before we start ping-ponging your situation here.
No branches or pull requests
Discuss anything related to Knip
When I added test files to ignore it, then some mocking functions used in tests are considered as unused. Is there way to work around it somehow?
Thanks
The text was updated successfully, but these errors were encountered: