Skip to content

Releases: argos-ci/jest-puppeteer

v9.0.0

24 May 20:30
e13d1dd
Compare
Choose a tag to compare

Bug Fixes

  • expect-puppeteer: fix addSnapshotSerializer usage (826fd31), closes #552
  • jest-dev-server: no default host (c35e403)
  • jest-dev-server: properly detect if port is used, using both config.port and config.host options. (351720a), closes #555
  • types: fix environment global types (fb691f7)
  • types: fix missing jestPuppeteer global before setup (37e2294)

Features

  • drop Node.js v14 support (d7d9833)

BREAKING CHANGES

  • drop Node.js v14 support
  • jest-dev-server: default host is now undefined instead of "localhost"

v8.0.6

24 Mar 09:39
f756dc3
Compare
Choose a tag to compare

Bug Fixes

v8.0.5

09 Mar 14:08
05992b2
Compare
Choose a tag to compare

Bug Fixes

  • spawnd: remove exit dependency (af2eb01), closes #541

v8.0.4

08 Mar 10:39
e9620e4
Compare
Choose a tag to compare

Bug Fixes

v8.0.3

07 Mar 10:12
6723a11
Compare
Choose a tag to compare

Bug Fixes

  • avoid creating screenshots directory (d9e58fe), closes #521
  • jest-puppeteer: fix preset export (82e4163), closes #528

v8.0.2

06 Mar 13:39
a0672aa
Compare
Choose a tag to compare

Bug Fixes

v8.0.1

06 Mar 08:49
47c54a7
Compare
Choose a tag to compare

Bug Fixes

  • remove cycle dependency (ed5c9eb)

v8.0.0

06 Mar 08:48
c6d19db
Compare
Choose a tag to compare

Features

BREAKING CHANGES

  • spawnd now exports { spawd } instead of default to ensure
    compatibilty with ESM
  • toMatch has been renamed toMatchTextContent to avoid collision
    with existing Jest matcher
  • jest-dev-server teardown function now requires processes as argument, see jest-dev-server readme

gobalSetup and globalTeardown in jest-environment-puppeteer

Update Create your own globalSetup and globalTeardown.

Before (v7.x)

const { setup: setupPuppeteer } = require("jest-environment-puppeteer");
const { teardown: teardownPuppeteer } = require("jest-environment-puppeteer");

After (v8.x)

const setupPuppeteer = require("jest-environment-puppeteer/setup");
const teardownPuppeteer = require("jest-environment-puppeteer/teardown");

v7.0.0

03 Feb 16:13
cc80f62
Compare
Choose a tag to compare

Breaking Changes

  • Requires Puppeteer v19+

v6.2.0

11 Dec 20:51
Compare
Choose a tag to compare

Bug Fixes

Features