forked from TimBeyer/cls-bluebird
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8172637
commit 4f8a44e
Showing
7 changed files
with
250 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* cls-bluebird tests | ||
* Tests for .error() | ||
*/ | ||
|
||
// Imports | ||
var runTests = require('../support'); | ||
|
||
// Run tests | ||
|
||
// TODO make this work in bluebird v3 - .error() only catches operational errors | ||
runTests('.error()', function(u) { | ||
u = u; | ||
/* | ||
u.testSetProtoMethodAsync(function(p, handler) { | ||
return p.error(handler); | ||
}, {catches: true, noUndefined: true, noBind: (u.bluebirdVersion === 3)}); | ||
*/ | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.