argos-ci/jest-puppeteer

8.0.3 broken? `Module jest-puppeteer should have "jest-preset.js" or "jest-preset.json" file at the root.`

fregante opened this issue ยท 2 comments

๐Ÿ› Bug Report

Jest refuses to run due to an error in the preset

โ— Validation Error:

  Module jest-puppeteer should have "jest-preset.js" or "jest-preset.json" file at the root.

  Configuration Documentation:
  https://jestjs.io/docs/configuration

To Reproduce

npm init -y
npm install --save-dev jest-puppeteer puppeteer jest
echo '{"preset":"jest-puppeteer"}' > jest.config.json
npx jest

System:

  • OS: macOS 13.2.1
  • CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  • Memory: 73.23 MB / 16.00 GB
  • Shell: 3.6.0 - /usr/local/bin/fish

Binaries:

  • Node: 18.13.0 - /usr/local/bin/node
  • Yarn: 1.22.11 - /usr/local/bin/yarn
  • npm: 9.6.0 - /usr/local/bin/npm

npmPackages:

  • jest-puppeteer: ^8.0.3 => 8.0.3

It worked, thanks! I'll probably report more issues later (I'm updating some deps in fregante/webext-dynamic-content-scripts#56)

Screenshot 1

@fregante I am also experiancing a bunch of chrome windows being sparned. Do you know any way to work around this?