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: 2 months 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-02T06:21:52.000Z (almost 10 years ago)
- Last Synced: 2025-03-25T18:55:40.610Z (3 months ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 1
- 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.