Ghost/ghost/core/test
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
..
e2e-api Fixed snapshot for settings 2023-06-12 10:04:50 +02:00
e2e-browser Fixed @tryghost/mailgun-client import 2023-05-09 13:00:18 -04:00
e2e-frontend Fixed flaky frontend members test (#16947) 2023-06-06 14:57:46 +01:00
e2e-server Add e2e test for update check script (#16840) 2023-05-25 14:36:36 +01:00
e2e-webhooks Added post_revisions as a default include for posts (#16660) 2023-04-18 11:12:35 +01:00
integration Added collections CRUD permissions 2023-06-09 21:13:06 +07:00
regression 🐛 Fixed site setup hanging when mail isn't configured 2023-05-11 11:58:27 -04:00
unit Prevented registering multiple Slack event listeners 2023-06-12 15:04:11 +02:00
utils Collected Ghost boot timing in test framework 2023-06-12 12:07:04 +02:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00