'NestJS Global Modules in tests
Is there a way to automatically provide all @Globalmodules into a TestModule ? (i.e without having to import them, the same way the main application works)
So far, I had to make sure to insert any global modules into the import list of my call:
await Test.createTestingModule({
imports: [
GlobalModule1,
GlobalModule2
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
