Do root level folders get loaded when the app runs in production or the IDE?

I’m planning to write some Cypress tests in Typescript for functional tests for one of my anvil apps.

I’m debating whether I should make it a standalone repo or add it as another directory at the same level as the client_code and sever_code folders at the root of the project. This would be to keep my tests in sync within git with my actual anvil app and to be able to easily switch between the tests and the app when writing/running/debugging the tests.

The only real issue I could forsee as a potential issue is that having a whole project of tests tacked onto my anvil app could slow down the loading of my actual app either in the IDE and/or in production.

So, do other non-anvil files at the root level get loaded in the IDE and/or production running? Either way, is that a real concern to be worried about?

I add my tests and uplink scripts to the anvil repository. See here: Should I not add tests and other stuff to the Anvil repository? - #2

1 Like