0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/test/utils
Hannah Wolfe 0b333765d4
Refactored shutdown and reset for settings
- shutdown removed listeners, which should really be done before adding them anyway!
- reset sets the cache back to an empty object, which was already done by init
- merge these into one reset function that fully resets the cache
- all instances of shutdown were called before an init call, and now called during init, therefore these can be removed
- acceptance utils had an instance of calling shutdown and reset together as part of stopping Ghost, reworked that to be clearer
2021-06-30 15:18:15 +01:00
..
fixtures Swapped to American English spellings 2021-06-09 16:39:06 +01:00
mocks 🔥 Added support for Node 14 2020-10-23 12:57:02 +01:00
acceptance-utils.js Refactored shutdown and reset for settings 2021-06-30 15:18:15 +01:00
api.js Extracted promise libs and history into @tryghost/promise 2020-08-11 18:44:21 +01:00
assertions.js
configUtils.js Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
db-utils.js Switch to @tryghost/debug, remove ghost-ignition 2021-06-15 17:24:22 +01:00
fixture-utils.js Refactored shutdown and reset for settings 2021-06-30 15:18:15 +01:00
index.js Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
old-integration-utils.js Refactored shutdown and reset for settings 2021-06-30 15:18:15 +01:00
redirects.js Split test utilities out into separate files 2021-02-16 20:17:04 +00:00
url-service-utils.js Replaced db.ready event with direct call to urlservice 2021-02-23 10:05:59 +00:00
urlUtils.js Swapped out usage of stubUrlUtils for configUtils 2021-06-21 11:07:30 +01:00