Jest preset containing all required configuration for writing integration tests using Playwright and jest-environment-dom.
npm install jest playwright jest-playwright-jsdom
// jest.config.js
module.exports = {
preset: 'jest-playwright-jsdom',
}
MIT