-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Runner is not a constructor #12
Comments
Also I get this error sometimes.
|
Please do not report different problems in the same issue. I moved the second problem to #13 |
@Emobe Can you please create a minimal but complete example project on Github with a simple unit test that does nothing so I can reproduce the problem by running The complete error message with stack trace would also be useful. |
I'm suspecting this is related to CJS vs ESM. I'm getting this error in my project:
When I look at the trace, it is loading the The difference here is about Once I change the At this point, I don't know where the problem is. The same tests runs fine in Node.js and jsdom. |
I get complaints that the runner is not a constructor when trying to use this library in a couple of projects.
Here is my config in one of my projects
The other project this happens in does not use ESM and still gets an issue of no constructor
The text was updated successfully, but these errors were encountered: