Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0047891 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| feature request | [Openbravo ERP] A. Platform | minor | have not tried | 2021-10-20 09:53 | 2022-09-06 11:38 | |||||||
| Reporter | jarmendariz | View Status | public | |||||||||
| Assigned To | Triage Platform Base | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Any | Database | Any | Java version | ||||||||
| OS Version | Database version | Ant version | ||||||||||
| Product Version | SCM revision | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Web browser | ||||||||||||
| Modules | Core | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0047891: Upgrade Jest from 26.6.0 to its latest version | |||||||||||
| Description | In 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 Reproduce | Upgrade 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'); | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|||||||||||||||
|
|||||||||||||||
Notes |
|
|
(0134609) cberner (viewer) 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 | OBNetwork customer | => No |
| 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 |