Ghost/test/utils
Hannah Wolfe 71f02d25e9 Refactored server announce functions to be clearer
- the announce functions exist for the purpose of communicating with Ghost CLI
- the functions were called announceServerStart and announceServerStopped, which implies they tell Ghost CLI when the server starts and stops
- however, the true intention / purpose of these functions is to:
    - either tell Ghost CLI when Ghost has successfully booted (e.g. is ready to serve requests)
    - or tell Ghost CLI when the server failed to boot, and report the error so that Ghost CLI can communicate it to the user
- therefore, I've refactored the old functions into 1 function to make it clearer they do the same job, but with 2 different states
- also added some tests :D
2020-08-09 17:25:15 +01:00
..
fixtures Added field mapping support for members import CSVs 2020-07-02 15:18:39 +12:00
mocks Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
api.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
assertions.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
configUtils.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
index.js Refactored server announce functions to be clearer 2020-08-09 17:25:15 +01:00
urlUtils.js Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00