Answer
Create a testing module with the service and replace external providers with controlled fakes. Test behavior and error paths rather than Nest internals.
Create a testing module with the service and replace external providers with controlled fakes. Test behavior and error paths rather than Nest internals.