-
Notifications
You must be signed in to change notification settings - Fork 124
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
Cannot use import satement outside a module #359
Comments
Hey the extension is simply generating a command which is executed from CLI. there is nothing which prevents you from using import statements. |
I saw on this issue that the extension looks all the way up from the current folder, buit in my case it is in a way down, so it would need to be informed as a configuration. |
https://github.com/firsttris/vscode-jest-runner?tab=readme-ov-file#extension-settings there is a extension setting for this jestrunner.configPath |
Thanks, it did the job. Now I have a problem with the reporter, I'll search for any issues about the subject. |
I'm using Typescript and I'm getting this error just out of the box. When I run from the CLI, jest runs ok.
Does someone knows how to allow imports using this extension?
The text was updated successfully, but these errors were encountered: