You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that this may not be an issue and its better to be asked in any stackoverflow-like media.
I already asked one.
I am using:
"typescript": "^5""vitest": "^1""awilix": "^8"
loadModules() doesn't load modules while creating container through my tests.
Due to my research & other issues which I read here, I couldn't find any proper solution to the problem.
I don't wanna use type: module in package.json & I can't load .ts files directly into the container.
I could fix it by including my test directory in both tsconfig.json and vitest.config files. But I'm not sure if this is correct.
Would you plz help me with this issue? Thanks in advance
The text was updated successfully, but these errors were encountered:
Awilix uses fast-glob to locate files. If this works outside vitest then I would suggest opening an issue there. I don’t use vitest so I’m not sure what it could be.
Hi, Tnx Awilix.
I know that this may not be an issue and its better to be asked in any stackoverflow-like media.
I already asked one.
I am using:
loadModules() doesn't load modules while creating container through my tests.
Due to my research & other issues which I read here, I couldn't find any proper solution to the problem.
I don't wanna use
type: module
inpackage.json
& I can't load.ts
files directly into the container.This won't work:
I could fix it by including my
test
directory in bothtsconfig.json
andvitest.config
files. But I'm not sure if this is correct.Would you plz help me with this issue? Thanks in advance
The text was updated successfully, but these errors were encountered: