playwright-community / jest-playwright

Running tests using Jest & Playwright
MIT License
532 stars 75 forks source link

Lock jest peer dependency to version 26 or 27 #794

Closed bodograumann closed 2 years ago

bodograumann commented 2 years ago

Fixes #793

The package is not yet compatible with jest 28 and will currently break after npm update, if the user has not accidentally locked down a specific jest version themselves with:

TypeError: Jest: Got error running globalSetup - /home/bodo/my-project/node_modules/@storybook/test-runner/playwright/global-setup.js, reason: Class extends value # is not a constructor or null

yannbf commented 2 years ago

Good one @bodograumann! I think the package.lock file should be updated too

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 2227520460

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 94.798%

Totals Coverage Status
Change from base Build 1291959546: 0.0%
Covered Lines: 106
Relevant Lines: 109

💛 - Coveralls