0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit/services/settings
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
..
default-settings-manager.test.js Refactored ensure settings module into a class with DI 2021-09-29 20:56:55 +02:00
loader.test.js Removed use of 'routes' parameter in route settings loader 2021-09-28 04:59:41 +13:00
validate.test.js Moved validate&yaml-parser modules to backend 2021-09-28 04:59:41 +13:00
yaml-parser.test.js Moved validate&yaml-parser modules to backend 2021-09-28 04:59:41 +13:00