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

Is there a way to run Jest-Puppeteer just for a select group of tests? #589

Open
marcosthejew opened this issue Aug 26, 2024 · 1 comment

Comments

@marcosthejew
Copy link

Hello! We do not require a browser for most tests, but the base Jest Test Runner suffices. There are other tests, that require a Browser instance or they will fail. Is there any way to explicitly state which files/tests should use Jest-Puppeteer and have the rest of them use the base Jest Test Runner?
Thanks!

@gregberge
Copy link
Member

Hello @marcosthejew, I think you can define multiple projects in Jest to handle that.

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

No branches or pull requests

3 participants
@gregberge @marcosthejew and others