jest-puppeteer icon indicating copy to clipboard operation
jest-puppeteer copied to clipboard

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

Open marcosthejew opened this issue 1 year ago • 1 comments
trafficstars

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!

marcosthejew avatar Aug 26 '24 17:08 marcosthejew

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

gregberge avatar Aug 26 '24 20:08 gregberge