autoLoad entities will not find entities after using a beforeEach loop #103
Unanswered
xenoterracide
asked this question in
General
Replies: 1 comment 10 replies
-
Well, it is 100% fixed 🤷 If things work only once and then start to fail, it sounds a bit like something is wiping the I'd have to see a complete reproduction if you want help with such issues. If the ts-jest autodetection fails for you (which #17 was about), you can always make things explicit via |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
This is a duplicate of #17, but that's obviously not 100% fixed
here's the output logs, before the stacktrace. As you can see in the first pass it finds them, but on any subsequent beforeEach it does not. If using
beforeAll
instead, there is no problem. Unfortunately in one of our use cases we're usingjest-cucumber
and that doesn't seem to be giving me that option. I'm going to try using a closer there instead.Stack trace
after turning off discovery
To Reproduce
ProductAppModule imports
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
Versions
Beta Was this translation helpful? Give feedback.
All reactions