0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test
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
..
api-acceptance Fixed broken notifications/setting acceptance tests 2021-06-28 16:48:00 +04:00
frontend-acceptance Updated monthly/yearly data in price helper (#13012) 2021-06-08 16:32:39 +05:30
regression Added extra validation for some settings of array type 2021-06-28 14:26:18 +04:00
unit Refactored shutdown and reset for settings 2021-06-30 15:18:15 +01:00
utils Refactored shutdown and reset for settings 2021-06-30 15:18:15 +01:00
.eslintignore
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc