Ghost/test/unit
Naz d4cd1bb865 Refactored ensure settings module into a class with DI
refs https://linear.app/tryghost/issue/CORE-35/refactor-route-and-redirect-settings

- Ensure settings had only one method but would benefit from class+DI pattern before extracting it into an outside module.
- The logic is now also less coupled with "routes" and single source/destination paths. It's all configureable instead and might be reused if similar pattern is needed for example with redirect settings defaults.
2021-09-29 20:56:55 +02:00
..
adapters Refactored scheduling default test to use nock 2021-07-15 14:07:11 +04:00
api Fixed failing unit test 2021-08-13 10:22:11 +04:00
apps Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
data Moved routing setting hash calculation to backend 2021-09-28 04:59:41 +13:00
helpers Divided f/e proxy into true proxy + rendering service 2021-09-29 13:10:14 +01:00
lib Blocked 0.* IP addresses when making oembed requests 2021-09-14 11:35:14 +01:00
meta Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
models Fixed settings tests due to Bookshelf update 2021-09-10 16:59:11 +01:00
server Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
services Refactored ensure settings module into a class with DI 2021-09-29 20:56:55 +02:00
shared Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
web Made custom-redirects middleware testable 2021-09-28 22:00:32 +02:00