0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/test/unit/api/shared
Hannah Wolfe 22b6f1af99 Improved behaviour of default and all handlers
refs: https://github.com/TryGhost/Toolbox/issues/245

- .all methods are fallback serializers not to be run as well as a custom serializer
- The default serializer is also a fallback
- The "All" file with before and after are global hooks that _always_ get run as well as other serializers
- There's a lot of room for further improvement here especially with naming but this logic makes more sense
  for the usecases AND doesn't affect v2 & v3 etc. We can do another pass after 5.0
2022-03-29 13:44:21 +01:00
..
serializers Improved behaviour of default and all handlers 2022-03-29 13:44:21 +01:00
util Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
validators Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
frame.test.js Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
headers.test.js Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
http.test.js Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
pipeline.test.js Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00