mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 22:44:07 +03:00
4aacd50fee
refs https://github.com/TryGhost/Toolbox/issues/503 - The listener was not covered during quick and dirty implementation. While in the area did some cleanup to the sitemap manager test - One of the problems I've stumbled upon when adding a test is having multiple instances of SiteManager in the test, which in turn created multiple "subscribe" events and repeat handle executions. Fixed it by having just one site manager instance (a singleton) as that's the pattern that used in main codebase |
||
---|---|---|
.. | ||
apps | ||
helpers | ||
meta | ||
services | ||
utils | ||
web/middleware |