Ghost/test/utils
Hannah Wolfe 176433e307 Refactored notify to send started + ready
- In the old boot the server wasn't started til we were ready
- In new boot, we start the server immediately and send the old started event
- Then, when we are ready to accept some traffic, we send a ready event
- At the moment, ready isn't quite sent at the right time:
   - It _should_ be when we're ready to serve real traffic, not just send 503s
   - This is after the URL generation has finished
   - But this requires more refactoring work :(
   - So for now we send when everything else is ready
- This really needs some tests
2021-02-19 20:42:10 +00:00
..
fixtures Moved cacheRules from testUtils into fixtures 2021-02-17 17:55:38 +00:00
mocks 🔥 Added support for Node 14 2020-10-23 12:57:02 +01:00
api.js Extracted promise libs and history into @tryghost/promise 2020-08-11 18:44:21 +01:00
assertions.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
configUtils.js Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
db-utils.js Cleaned up test utils with async/await 2021-02-18 10:15:19 +00:00
fixture-utils.js Split test utilities out into separate files 2021-02-16 20:17:04 +00:00
index.js Refactored notify to send started + ready 2021-02-19 20:42:10 +00:00
old-integration-utils.js Split urlServiceUtils from testUtils & unified 2021-02-17 17:36:27 +00:00
redirects.js Split test utilities out into separate files 2021-02-16 20:17:04 +00:00
url-service-utils.js Split urlServiceUtils from testUtils & unified 2021-02-17 17:36:27 +00:00
urlUtils.js Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00