mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
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 |
||
---|---|---|
.. | ||
adapters | ||
api | ||
apps | ||
data | ||
helpers | ||
lib | ||
models | ||
server | ||
services | ||
shared/config | ||
web |