-
Notifications
You must be signed in to change notification settings - Fork 31
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
Couldn't load options using mocha - w/ reproduction #255
Comments
parliament718
changed the title
Couldn't load options using mocha
Couldn't load options using mocha - w/ reproduction
Sep 7, 2024
@parliament718 I saw this in the bounty you raised in the replit. I have fixed it. Do have a look at the replit submission. |
Same issue, I have my tests in a
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Attached is a minimum reproduction.
I can't get a simple test to show up in the test explorer.
The error gives "Couldn't load options using mocha"
mocha-test.zip
My structure is relatively simple, and I have a "backend" folder which I inform the test explorer of using
In my own project, I can run the tests manually. In the reproduction above, I cant even do that (complains about ts extension), however that's another issue. I would be happy to just see the test in the explorer, the rest works in my project.
I have tried using @swc/register (I use swc), and ts-node/register -- Same problem, can't load options
This is such a simple setup, what is wrong here.
The text was updated successfully, but these errors were encountered: