jest-electron icon indicating copy to clipboard operation
jest-electron copied to clipboard

Upgrade to jest 25

Open Prior99 opened this issue 5 years ago • 7 comments

Jest 25 has been released for a while now, however, jest-electron still specifies version 24 as peer dependency.

Prior99 avatar Jul 14 '20 07:07 Prior99

if upgrade to v25, than the old user should upgrade new jest-electron

hustcc avatar Jul 21 '20 08:07 hustcc

Is there a jest-electron version compatible with jest v25 available?

Prior99 avatar Jul 21 '20 08:07 Prior99

可以升级到26吗?然后包版本 1.0 升级?

Leannechn avatar Feb 24 '21 07:02 Leannechn

Guys, Jest is already v27. How about publishing a jest-electron v27 that works with jest v27? If that sounds good to you then I'm willing to look into opening a PR.

pckhoi avatar Nov 04 '21 13:11 pckhoi

@pckhoi That would be awesome 😃

erikian avatar Nov 27 '21 16:11 erikian

The trouble with the upgrade to a newer jest is that it changed the way scripts are run. There is a context passed around, which use to be on a script object, but is not on a vm object. I tried to go through the process resolving it. I'm not familiar with the underlying vm library in node to make it work though

jtarchie avatar Dec 28 '21 21:12 jtarchie

This should probably be closed in favour of https://github.com/hustcc/jest-electron/issues/54 now.

neojski avatar Oct 23 '22 17:10 neojski