Skip to content

Migrate away from Jest v29 #258

Closed
Closed
@MikeMcC399

Description

@MikeMcC399

Situation

  • Repo tests (npm test) are run with jest
  • The configured version is [email protected], released Sep 12, 2023 (current latest)
  • Installing [email protected] shows

    npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
    npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported

Assessment

Jest v30

  • jest@next currently points to [email protected]. This continues to use deprecated transient dependencies:
└─┬ [email protected]
  └─┬ @jest/[email protected]
    └─┬ @jest/[email protected]
      └─┬ [email protected]
        └─┬ [email protected]
          └─┬ [email protected]
            └── [email protected]

These are known unaddressed issues in https://github.com/jestjs/jest/issues

vitest

Recommendation

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions