Testy / TestyTs

✔️ Modern TypeScript testing framework.
http://testy.github.io
ISC License
123 stars 8 forks source link

Cannot find module #61

Closed A-ZC-Lau closed 3 years ago

A-ZC-Lau commented 3 years ago

I currently can't use path mapping resolution i.e #/src/somewhere/deeper I was wondering if this was already possible but missing in the documentation, or if there was something else I had to do.

The error is:

error TS2307: Cannot find module

Aboisier commented 3 years ago

I haven't tried it, but I'd say this isn't currently supported. It seems like this could be easily fixed using tsconfig-paths. I'll try and implement this this week.

Thanks for pointing this to my attention!

pierrelemee commented 3 years ago

Hello @Aboisier any news on this ? I'm facing the same issue and I can't find a warkaround ...

Aboisier commented 3 years ago

Hi! Sorry for the delay. I've implemented this feature and released it in version 1.2.0. Let me know if this fix works for you! I'll close this issue, but feel free to reopen if necessary.