-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.2.X
-
Fix Version/s: 7.2.X
-
Component/s: Workflow > Metrics
-
Labels:
-
Branch Version/s:7.2.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
[exec] FAIL test/shared/components/list/ReloadButton.es.js
[exec] ??? Should component reload page
[exec]
[exec] expect(received).toHaveBeenCalled()
[exec]
[exec] Matcher error: received value must be a mock or spy function
[exec]
[exec] Received has type: function
[exec] Received has value: [Function reload]
[exec]
[exec] 23 | instance.reloadPage();
[exec] 24 |
[exec] > 25 | expect(window.location.reload).toHaveBeenCalled();
[exec] | ^
[exec] 26 |
[exec] 27 | window.location.reload.mockRestore();
[exec] 28 | });
[exec]
[exec] at Object.toHaveBeenCalled (test/shared/components/list/ReloadButton.es.js:25:33)
- is caused by
-
LPS-107545 Update react, react-dom to v16.12.0
-
- Closed
-