mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
5d11475f32
no issue - fixed usage of rewire and sinon spies - spies actually set (and reset) on the rewired module so the spies are called in place of the original functions - fixed should syntax for spies, they were written with chai syntax but we don't use chai in server-side code - chained `.catch(done)` to the `.catch(assertions)` in tests that are testing errors so that we don't have unhandled rejections and 60s timeouts when an assert fails - changed `.gif` to `.ico` to match current fetch-only extension list - fixed "[failure] can handle an error with statuscode not 200 (image-size)" which was expecting the `sizeOf` function to be called when it shouldn't be called |
||
---|---|---|
.. | ||
blog-icon_spec.js | ||
cached-image-size-from-url_spec.js | ||
gravatar_spec.js | ||
image-size_spec.js |