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

How to pass current test-file-path to environment.setup ? #6889

Closed
gorshkov-leonid opened this issue Aug 25, 2018 · 3 comments
Closed

How to pass current test-file-path to environment.setup ? #6889

gorshkov-leonid opened this issue Aug 25, 2018 · 3 comments

Comments

@gorshkov-leonid
Copy link

Hi, I need to setup jest-dev-server per test-file. So each this configuration should be invisible. For example abc.test.js is running, dev server shuld be started for abc.test.json configuration.

I think environment is legal way. But how current file path can be obtained in setup method?

image

@thymikee
Copy link
Collaborator

thymikee commented Aug 25, 2018

Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions. You'll find more on Jest docs help page. Thank you :)

@gorshkov-leonid
Copy link
Author

gorshkov-leonid commented Aug 26, 2018

Thank you very much. When I created this issue I choosed question type. It is exist. I thought you would change issue type on suggest. Screen can help you. So SLA is good....

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants