-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling RunWithDrivine()
when using it.each
in a test file causes TypeError: it.each is not a function
#114
Comments
RunWithDrivine()
in a test file causes TypeError: it.each is not a function
RunWithDrivine()
when using it.each
in a test file causes TypeError: it.each is not a function
For a single test, you can use I appreciate this is a bit confusing. (Will wait for confirmation that the above works) |
Is this not what I am doing? I am importing the SUT ( |
Oh sorry, I thought it was on a nested describe block (was super early in the morning, pre-mountain bike ride, when I read that). I would say its either the jest version or the import order. Could you try putting the |
I will try this tomorrow morning (in about 8 hours from now) and get back to you. |
Just importing it does not work, but calling |
And that's even if it is the first import in the global setup? |
Yes, I tried it as a first and later import, which does not work. In both scenarios I also tried it with actually calling the method, which does work. |
The title says it all, but for more detail here is a spec file which shows the issue. The argument for
RunWithDrivine
does not seem to make a difference. Any idea what could be causing this?Error:
The text was updated successfully, but these errors were encountered: