-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@types/jest
dependency should be changed to @jest/types
#387
Comments
+1. Looks like |
any progress on this? This is starting to turn into a problem for us |
@markusv I may be able to take care of this in a week or two. But maybe you could take a shot at it? You are welcome to make a pull request contributing this change, and I'll gladly review and release when it's all good. |
Having types in dependencies is actually conflicts with Vitest: #427 |
Issue has resurfaced with breaking changes introduced with Jest 28. jest.useFakeTimers({
legacyFakeTimers: true,
}); |
We've also recently encountered typing issues due to the conflict of Jest 28 vs. the To work around this I'm using a
Maybe this helps someone... |
I'm going to close this for now as I don't see a need for us to use |
@testing-library/jest-dom
version: 5.14.1@types/testing-library__jest-dom
version: 5.14node
version: 14npm
(oryarn
) version: yarn 1.2Problem description:
Looks like Jest v27 types are not supported by
@types/jest
and were moved to@jest/types
.Suggested solution:
Should
@types/testing-library__jest-dom
also consider upgrading this dependency?As I can see
@jest/types
do support jest < 27. Seems like a safe upgrade.The text was updated successfully, but these errors were encountered: