You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm in the middle of a Parcel 1 > Vite upgrade.
After getting my tests running again, I got the following message: ts-jest[backports] (WARN) Your Jest configuration is outdated. Use the CLI to help migrating it: ts-jest config:migrate <config-file>.
So I entered ts-jest config:migrate jest.config.cjs
(File extension change was needed because type: "module" was added to package.json for vite).
Expected behavior
Some sort of upgrade wizard or something?
Actual behavior
ts-jest[cli] (FATAL) Configuration file jest.config.cjs must be a JavaScript or JSON file.
Debug log
None
Additional context
No response
Environment
Need to install the following packages:
[email protected]
Ok to proceed? (y)
The text was updated successfully, but these errors were encountered:
I would suggest that the migration should happen when the jest.config file has a cjs extension, since you need that with vite and it's a valid extension for a jest.config file.
Version
^29.1.1
Steps to reproduce
I'm in the middle of a Parcel 1 > Vite upgrade.
After getting my tests running again, I got the following message:
ts-jest[backports] (WARN) Your Jest configuration is outdated. Use the CLI to help migrating it: ts-jest config:migrate <config-file>.
So I entered
ts-jest config:migrate jest.config.cjs
(File extension change was needed because
type: "module"
was added to package.json for vite).Expected behavior
Some sort of upgrade wizard or something?
Actual behavior
ts-jest[cli] (FATAL) Configuration file jest.config.cjs must be a JavaScript or JSON file.
Debug log
None
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: