0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit/lib
Aileen Nowak ae741b1a18 Removed bluebird promise wrap in request lib (#9343)
refs #9178, refs #8988

With 7353c87d7f we use Bluebird globally for Promises. Therefore, the request lib doesn't need to be wrapped in a bluebird Promise anymore.

This was originally done, so we can work with catch predicated in our image-size lib.

Updated the tests to proof, that the catch predicates work.

The tests fail, as soon as the Promise overwrite is commented out.
2018-01-02 12:18:56 +01:00
..
common Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00
fs Moved zip folder, read csv and package-json to lib/fs 2017-12-14 22:07:53 +01:00
image Removed bluebird promise wrap in request lib (#9343) 2018-01-02 12:18:56 +01:00
mobiledoc Moved default-cards app to lib/mobiledoc (#9341) 2017-12-14 14:44:01 +00:00
promise Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00
security Moved tokens, url safe and safe string utility to lib/security 2017-12-14 13:38:00 +01:00
social Moved social utility to lib/social 2017-12-14 22:34:05 +01:00
request_spec.js