Skip to content

Commit

Permalink
Tests code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Sep 3, 2016
1 parent 36b7132 commit 27e03d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/utils/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ module.exports = {

/**
* Suppress unhandled rejections on a promise in a static method that receives a promise of an array.
* Due to bug in bluebird: https://github.com/petkaantonov/bluebird/issues/1158
*
* This is a workaround for bug in bluebird where a promise from another constructor
* which is rejected synchronously results in an unhandled rejection on `Promise.map()`.
Expand All @@ -98,7 +99,6 @@ module.exports = {
* @param {Function} makeValue - Function that creates values
* @returns {undefined}
*
* TODO Raise issue on bluebird for this or include link to existing issue
* TODO Remove this when bug is fixed
* TODO Check this is required for methods other than `Promise.map()`
*/
Expand Down

0 comments on commit 27e03d3

Please sign in to comment.