Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047891
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminorhave not tried2021-10-20 09:532022-09-06 11:38
ReporterjarmendarizView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0047891: Upgrade Jest from 26.6.0 to its latest version

DescriptionIn order to remain updated and take advantage of new features/bugfixes/optimizations introduced by jest devs, we should update to the new major version and fix any issue caused by the breaking changes if any.

Check Jest changelog for a summary of changes. Breaking ones are marked in bold: https://github.com/facebook/jest/blob/main/CHANGELOG.md [^]
Steps To ReproduceUpgrade Jest and related plugins and check that tests still works as expected.

Also it's a good oportunity to clean up a bit of our codebase. For example, Jest 27 introduces this change:

Use "modern" implementation as default for fake timers (0010874 & 0011197). With this upgrade we can remove the following line present in some tests:

jest.useFakeTimers('modern');

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0047534 closedjarmendariz Update package-lock.json to fix npm audit issues 
related to feature request 0055464 closedablasco Upgrade Jest from 27.5.1 to its latest version 

-  Notes
(0134609)
cberner (developer)
2022-01-27 12:50

When updating, please check usages of setImmediate in jest tests and change them to either be jest.requirreActual('timers').setImmediate, or use process.nextTick.
For more info: https://stackoverflow.com/a/51045733 [^]

- Issue History
Date Modified Username Field Change
2021-10-20 09:53 jarmendariz New Issue
2021-10-20 09:53 jarmendariz Assigned To => platform
2021-10-20 09:53 jarmendariz Modules => Core
2021-10-20 09:53 jarmendariz Triggers an Emergency Pack => No
2021-10-20 09:56 jarmendariz Relationship added related to 0047534
2021-10-20 13:11 AugustoMauch Type defect => feature request
2022-01-27 12:50 cberner Note Added: 0134609
2022-01-27 12:50 cberner Assigned To platform => Triage Platform Base
2022-09-06 11:38 jarmendariz Summary Upgrade Jest from 26.6.0 to 27.x.x => Upgrade Jest from 26.6.0 to its latest version
2024-05-13 13:26 ablasco Relationship added related to 0055464


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker