Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
ID | |||||||||||
0048697 | |||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||
defect | [POS2] Core | minor | have not tried | 2022-03-01 12:15 | 2022-03-17 14:39 | ||||||
Reporter | jorge-garcia | View Status | public | ||||||||
Assigned To | Triage Platform Base | ||||||||||
Priority | normal | Resolution | open | Fixed in Version | |||||||
Status | acknowledged | 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 | ||||||||||
Review Assigned To | |||||||||||
Regression level | |||||||||||
Regression date | |||||||||||
Regression introduced in release | |||||||||||
Regression introduced by commit | |||||||||||
Triggers an Emergency Pack | No | ||||||||||
Summary | 0048697: Find a way to test processImage.test.js in case the size and file extension are correct | ||||||||||
Description | Jest is not able to work with javascript new Image onLoad method, making test to fail due to a timeout. | ||||||||||
Steps To Reproduce | - | ||||||||||
Proposed Solution | I found some links that could be useful for this case https://raminmousavi.medium.com/mock-img-element-in-jest-3341c495ca8b [^] https://lzomedia.com/blog/jest-testing-an-asynchronous-image-upload-in-react/ [^] The idea is to find a good solution to this problem | ||||||||||
Tags | No tags attached. | ||||||||||
Attached Files | |||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2022-03-01 12:15 | jorge-garcia | New Issue | |
2022-03-01 12:15 | jorge-garcia | Assigned To | => Triage Platform Base |
2022-03-01 12:15 | jorge-garcia | Triggers an Emergency Pack | => No |
2022-03-01 12:16 | jorge-garcia | Relationship added | related to 0047995 |
2022-03-17 14:38 | AugustoMauch | Summary | Found a way to test processImage.test.js in case the size and file extension are correct => Find a way to test processImage.test.js in case the size and file extension are correct |
2022-03-17 14:39 | AugustoMauch | Status | new => acknowledged |
Copyright © 2000 - 2009 MantisBT Group |