0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit
Nazar Gargol cea598597b Restructured theme check logic
refs #10571

- Removes dependency on 'context' property being set in error when
checking a theme
- Refactoring was needed to be able to avoid passing checked theme as a
part of thrown error (logic was relying on error having this specific
data in context property). This created a problem where we controlled
the logic flow with data in error object.
- Introduced 2 different types of theme check handling, one behaves the
same way as before, the other gives more granulac control to the caller
to decide what to do with returned errors.
2019-04-22 22:34:12 +02:00
..
adapters Removed superagent dependency (#10535) 2019-03-04 15:59:38 +08:00
api 🐛 Fixed Admin API v2 wasn't returning preview url 2019-03-21 19:08:38 +01:00
apps 🐛 Fixed empty amp page 2019-02-27 17:56:09 +01:00
config
data Added notification access persmission for users of Editor role 2019-04-18 13:02:23 +02:00
helpers Removed use of filters module 2019-04-16 11:05:33 +02:00
lib 🐛 Fixed last paragraph not rendering on front-end when it's styled 2019-04-08 16:25:20 +01:00
models Updated theme layer to use members-ssr (#10676) 2019-04-16 16:50:25 +02:00
public Refactored Ghost SDK unit test 2018-10-05 16:49:46 +02:00
services Restructured theme check logic 2019-04-22 22:34:12 +02:00
web Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00