0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/test/unit/services/themes
Hannah Wolfe c02b0a19ac Used new default API version in theme engines
refs: 9f50e941eb
refs: bf0823c9a2

- Still working towards splitting the theme service into logical components
- The engine defaults were required in the index file, in a way that creates tight coupling across what would otherwise
be distinct components
- Also meant there was another hardcoded 'v4' in the codebase
- This fixes both issues by depending on the value from config
- Currently this adds Yet Another Config Require, but it should be fine for now until we have a new pattern for the frontend
- Note: We only care about the ghost-api engine, we used to care about both ghost and ghost-api. Now that there is only one there was no need for the more complex code structures
2021-04-21 18:08:17 +01:00
..
engines Used new default API version in theme engines 2021-04-21 18:08:17 +01:00
active_spec.js Used themeService as var name everywhere [again] 2021-04-20 19:16:52 +01:00
list_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
loader_spec.js 🔥 Added support for Node 14 2020-10-23 12:57:02 +01:00
middleware_spec.js Added @site.signup_url data property for themes (#12893) 2021-04-21 12:10:09 +01:00
preview_spec.js 🐛 Fixed theme preview not decoding values properly 2021-03-01 11:54:50 +00:00
validate_spec.js Updated links to ghost.org sites 2021-01-20 09:59:45 +13:00