Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nknapp/q-debug-mode
Activates long-stack-traces in Q and warns about unhandled reasons on process exit
https://github.com/nknapp/q-debug-mode
Last synced: 20 days ago
JSON representation
Activates long-stack-traces in Q and warns about unhandled reasons on process exit
- Host: GitHub
- URL: https://github.com/nknapp/q-debug-mode
- Owner: nknapp
- Created: 2014-12-11T22:47:15.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-02T06:21:52.000Z (over 9 years ago)
- Last Synced: 2024-10-06T03:42:07.649Z (about 1 month ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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.