0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit
Fabien O'Carroll 40d74ec3e0 Updated theme middleware tests
no-issue

This allows the tests to not inspect the "internals" of the module, and
deal with the middleware array it exports.

- Removes two layers of indentation for readablity
- Adds executeMiddleware helper
- Reuses the global requires, rather than making new globals for stubs
2019-04-04 10:44:43 +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 Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
data Updated backup file names to include timestamp (#10607) 2019-03-13 21:06:05 +01:00
helpers Added tests for null values in content/excerpt helpers 2019-03-18 19:52:49 +08:00
lib Added consistent handling to empty mobiledoc 2019-03-18 20:06:53 +08:00
models Model regression tests cleanup (#10639) 2019-03-26 11:37:32 +08:00
public Refactored Ghost SDK unit test 2018-10-05 16:49:46 +02:00
services Updated theme middleware tests 2019-04-04 10:44:43 +02:00
web Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
filters_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00