Forge ignore folder

Hi everyone,

I have folder in my project called test-files. It contains a test payload files (json, csv, etc), which are used in my jest unit tests. Some of these files can be pretty big. How can I exclude it from forge deployment?

Hi @GeoSystems, I believe that if you add /test-files/ to the .gitignore file, that should do the trick. I’ve just reached out to some internal folks who know the CLI inside out to confirm the above… should have solid answer by end of day.

1 Like

Thanks @nmansilla . Ideally, I would prefer not to add to .gitignore, so that I can share the test files and run unit tests from different machine and by different team members.