Ghost/core/test/unit/services/themes
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
..
engines
active_spec.js
config_spec.js
list_spec.js
loader_spec.js
middleware_spec.js
validate_spec.js Restructured theme check logic 2019-04-22 22:34:12 +02:00