I'm asking for recommendations (hoping again my savior jmcdo29 will come xD - did not mention on purpose 🙏 )
I'm currently at a company where we adopted nest, but the learning curve made the firsts services we have quite a mess.
i have opinions on what/how to test. we have tests which are creating a test module and importing each and every dependency (and sub dependency) in order to test a single service.
where i would rather import the module and pull the tested service from testingModule.get , optionally providing mocks with the dedicated overrideModule/overrideProvider functions.
some of the test files i have, they have 20~ services imported, where actually 2 modules would be enough... but the dependencies are a bit broader than currently.
i'm wondering, in a world of newbies of nest what is the preferred way?