Bug #602
closedUnhandled promise rejection in javascript tests
Status:
Closed
Priority:
Low
Assignee:
-
Start date:
19.04.2018
Due date:
% Done:
0%
Estimated time:
Description
npm run test shows warning + deprecation varning
.......(node:10495) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'data' of undefined
(node:10495) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.