Ghost/core/test/unit/lib
Fabien O'Carroll 2d92793b3f
Cleaned up image manipulator (#10282)
no-issue

* Added InternalServerError to resizeImage

* Added a redirect to original image if sharp is missing

* Improved naming - safeMethod -> method

* Updated process method to follow same sharp check pattern

* Refactor safety wrapper into makeSafe function

* Moved generic manipulation error to makeSafe function

* Refactored unsafeProcess to use unsafeResizeImage

* Removed CRAZY catch
2018-12-14 11:54:52 +07:00
..
common Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
fs 🐛 Fixed invalid imported subscribers count (#10229) 2018-12-03 20:45:55 +01:00
image Cleaned up image manipulator (#10282) 2018-12-14 11:54:52 +07:00
mobiledoc Fixed mobiledoc-converter test 2018-08-31 12:03:08 +01:00
promise Extended sequence utility 2018-10-03 00:17:45 +02:00
security Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
social Moved social utility to lib/social 2017-12-14 22:34:05 +01:00
ghost-version_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
request_spec.js Refactored request unit tests to return promises (#10045) 2018-10-24 12:14:44 +07:00