Skip to content

test: Update jest.config.js to resolve warnings#292

Closed
jleverenz wants to merge 1 commit intonest-modules:mainfrom
jleverenz:fix-jest-config
Closed

test: Update jest.config.js to resolve warnings#292
jleverenz wants to merge 1 commit intonest-modules:mainfrom
jleverenz:fix-jest-config

Conversation

@jleverenz
Copy link
Copy Markdown
Contributor

Running (p)npm test logs these warnings:

ts-jest[ts-jest-transformer] (WARN) Define `ts-jest` config under `globals` is deprecated. Please do
transform: {
    <transform_regex>: ['ts-jest', { /* ts-jest config goes here in Jest */ }],
},
ts-jest[backports] (WARN) "[jest-config].globals.ts-jest.tsConfig" is deprecated, use "[jest-config].globals.ts-jest.tsconfig" instead.
ts-jest[backports] (WARN) Your Jest configuration is outdated. Use the CLI to help migrating it: ts-jest config:migrate <config-file>.

This PR makes the recommended changes and resolves the warnings.

@juandav
Copy link
Copy Markdown
Member

juandav commented Mar 22, 2026

Hi @jleverenz, thanks for this fix!

The Jest configuration warnings have been resolved as part of a major monorepo migration. The deprecated globals config for ts-jest has been removed and the configuration has been modernized.

Closing this PR as the issue is already resolved on main. Thank you!

@juandav juandav closed this Mar 22, 2026
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.

2 participants