If I want to write integration for each module, Instead of initialising it for each module, I could have a global setup with jest and I could start writing the tests directly and the server would start only once instead every time for each module and I could just clear my database before each test cases run
to have a global setup with jest, just AppModule needs to be imported with other configs and modules like winston, Config, the envs etc.
Please help me with the global setup.