Ghost/ghost/core/test/unit
Daniel Lockyer af8c0dc7a5 Prevented registering multiple Slack event listeners
refs https://github.com/TryGhost/Toolbox/issues/592

- in tests, we boot Ghost over and over
- this inits all the services each time
- it turns out that the Slack event listener is registered 80+ times
- to prevent this, we can check if it has already been registered, like
  we do with webhooks: 4639396c3a/ghost/core/core/server/services/webhooks/listen.js (L67-L69)
- not sure about this pattern in general, but it's something we can
  review in coming weeks
2023-06-12 15:04:11 +02:00
..
api Enforce explicit cacheInvalidate header (#16826) 2023-06-07 15:13:45 +01:00
frontend 🐛 Fixed trailing slash and space in HTML metadata elements (#16778) 2023-05-17 08:51:32 +02:00
server Prevented registering multiple Slack event listeners 2023-06-12 15:04:11 +02:00
shared Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00