If you're using Q promises, you can include this function in your unit-tests. It will register a exit-handler that checks if any unhandled rejected promises exist and prints error messages for each of those. See Debug-Mode to warn for unused promises #625 for details.
q-debug-mode
0.0.1 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i q-debug-mode
Repository
Homepage
Weekly Downloads
4
Version
0.0.1
License
none