-
Task
-
Resolution: Done
-
Minor
-
None
-
None
In `frontend/packages/dev-console/src/components/import/_tests_/import-submit-utils.spec.ts` there is a test that spys on a method that requires parameters to be passed. If they are not passed it causes a NPE error.
This appears to be related to the node version and how it handles uncaught promises. Some can successfully run these tests without errors, while some cannot.
Appears to be a Node v15 issue.
Slack thread for more information / the discussion.
- is related to
-
ODC-6194 Test Failure: Node v15 issue with Async tests + jest.spyOn
- Closed
- links to