karma-as-promised
A lightweight promise wrapper for Karma's public API. This wrapper will not replace or alter any of Karma's methods directly. Anywhere you would require('karma')
, just require('karma-as-promised')
instead. The configuration will be passed through directly.
When Karma reports an exit code of 0, the promise resolves. For any other code, it is rejected.
Example
serverstartconfig ;