Ghost/test/unit/server/services
Hannah Wolfe d01c1cba64
Fixed undefined error when serializing webhooks
closes: https://github.com/TryGhost/Toolbox/issues/318
refs: https://github.com/TryGhost/Toolbox/issues/320
refs: 2a11d5100e

- The underlying problem was caused by the removal of API versions
  - commit 2a11d5100e
  - I missed doing the same refactor as was done for the post-emailserializer here: 2a11d5100e (diff-0f7477bb5e5a9fdcb4c909a9e9e61ab5bb76b640b2d63a5791a9d6c8904f2758R7)
  - The removal of api versions included a change to remove circular references in the api module
- Written some basic unit tests to prove that webhook serialization works
  - I'm not 100% happy with the output, and not sure if it's the tests or reality, needs further work
  - Future work tracked in https://github.com/TryGhost/Toolbox/issues/320
2022-05-03 11:40:59 +01:00
..
adapter-manager Added local media storage adapter 2021-11-03 00:33:28 +13:00
auth Updated newsletter fixtures to remove nullable sender name (#14479) 2022-04-14 23:45:59 +05:30
mail Removed remaining usage of i18n & translation file 2021-10-15 11:39:07 +01:00
mega Promoted multiple newsletters flag (backend) to GA (#14609) 2022-04-27 19:02:56 +01:00
members Promoted multiple newsletters flag (backend) to GA (#14609) 2022-04-27 19:02:56 +01:00
newsletters Wired up LimitService to NewsletterService (#14602) 2022-04-27 17:44:16 +01:00
notifications Replace error handler middleware with @tryghost/mw-error-handler (#13879) 2021-12-14 15:18:46 +00:00
permissions Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
posts Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
redirects Slimmed down redirects test suites 2021-11-26 06:18:36 +13:00
route-settings Removed sync method from route settings loader 2022-04-28 15:37:09 +01:00
settings Added test coverage to settings bread service 2022-04-22 16:31:56 +08:00
stripe Aliased canary endpoints to point to non-versioned URLs 2022-03-14 21:22:54 +13:00
themes Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00
url Removed theme engines API versioning concept 2022-04-28 15:35:27 +01:00
webhooks Fixed undefined error when serializing webhooks 2022-05-03 11:40:59 +01:00
labs.test.js Added ability for themes to define custom settings (#13661) 2021-10-22 15:02:16 +01:00
slack.test.js Replaced schema.isPost in slack service /w custom fn 2022-04-05 14:24:42 +01:00
xmlrpc.test.js Moved server unit tests into the server folder 2021-10-06 12:01:09 +01:00