Skip to content

docker: pin Jest packages to 29.7.0 in testbed#1114

Open
pkvach wants to merge 1 commit into
isso-comments:masterfrom
pkvach:fix/pin-jest-version-in-testbed-dockerfile
Open

docker: pin Jest packages to 29.7.0 in testbed#1114
pkvach wants to merge 1 commit into
isso-comments:masterfrom
pkvach:fix/pin-jest-version-in-testbed-dockerfile

Conversation

@pkvach

@pkvach pkvach commented May 27, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • All new and existing tests are passing
  • I have written proper commit message(s)

What changes does this Pull Request introduce?

Prevents an error during integration tests caused by a mismatch between Jest 30+ and older jest-puppeteer.

jest@30 was released and became latest on npm, breaking integration tests with:

  TypeError: this._moduleMocker.clearMocksOnScope is not a function

This aligns the testbed image with the versions specified in package.json.

Why is this necessary?

Example of the error in a CI job: https://github.com/isso-comments/isso/actions/runs/26530340281/job/78145011881?pr=1113#step:9:20

Prevents an error during integration tests caused by a mismatch between Jest 30+ and older jest-puppeteer.

This aligns the testbed image with the versions specified in package.json.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant