0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/services/themes
Hannah Wolfe 3e7039c47d
Fixed theme storage getting confused between tests
- When starting ghost for e2e tests we create a content folder in the os tmp dir
- This means that the folder can change between suites as ghost is started and restarted
- For the most part this is fine, but theme storage caches the path to config (which makes sense, it's not meant to change whilst Ghost is in-memory)
- This is a quick-n-dirty fix that just makes it possible to update that path in the tests, so we know it's in sync
- Ideally we'd not cache the path, use a function to fetch it etc, or fully reset the theme storage layer, but this is the fix I have working today
     and so it's going in to unblock things for now
2022-02-11 10:37:37 +00:00
..
activate.js Fixed custom theme settings not being available when expected 2021-10-21 15:02:52 +01:00
activation-bridge.js Cleaned up customThemeSettings labs flag 2022-01-03 17:45:25 +00:00
index.js Cleaned up customThemeSettings labs flag 2022-01-03 17:45:25 +00:00
installer.js Removed i18t dependency from installer module 2021-09-03 20:33:28 +04:00
list.js
loader.js Refactored theme service to use async/await 2021-07-07 12:28:55 +01:00
storage.js Fixed theme storage getting confused between tests 2022-02-11 10:37:37 +00:00
ThemeStorage.js Fixed ThemeStorage inheritance 2021-11-05 17:17:18 +04:00
to-json.js Moved settings/cache to shared/settings-cache 2021-06-30 15:49:10 +01:00
validate.js Added syncing and theme exposure of custom theme settings (#13354) 2021-09-23 12:44:39 +01:00