Skip to content
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

[FEATURE]: Allows to update the configuration per projects #1159

Closed
thuandohoang opened this issue Jul 10, 2024 · 2 comments
Closed

[FEATURE]: Allows to update the configuration per projects #1159

thuandohoang opened this issue Jul 10, 2024 · 2 comments

Comments

@thuandohoang
Copy link

Is your feature request related to a problem? Please describe.

I'm working on multiple projects (web FE with ReactJS and mobile with ReactNative). Each project has a different root file. It's quite annoying when updating the rootPath every time I switch to work on each project.

Describe the solution you'd like
I would be nice if the plugin allows me to configure the rootPath for each project.

Describe alternatives you've considered
N/A

Additional context
N/A

@connectdotz
Copy link
Collaborator

This extension's configuration is stored in VSCode's settings.json (single-root workspace) or .code-workspace (multi-root workspace) file. You should be able to configure the extension per project today by setting the jest.rootPath in the respective configuration file of each project.

If you can provide more details on how your projects are set up in VSCode, such as whether you're using single or multi-root workspaces and any specific configurations, we can offer more tailored assistance.

Looking forward to helping you further.

@thuandohoang
Copy link
Author

Thanks @connectdotz, I found out we can have project configuration using .vscode/setting.json file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants