-
Hi folks, I'm running into issues when using supertest, receiving this error when running it.
Here's my jest config
and test file
My codebase is using path aliases through services and controllers, and with the help of the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
Hello @LefanTan Just install @tsed/components-scan dependency. in v7 this dependency is not installed intentionnaly, and I recommend to not use it! PlatformTest lazyload this module if you use globpattern to import controllers and services. See you, |
Beta Was this translation helpful? Give feedback.
Hello @LefanTan
Just install @tsed/components-scan dependency. in v7 this dependency is not installed intentionnaly, and I recommend to not use it!
PlatformTest lazyload this module if you use globpattern to import controllers and services.
See you,
Romain