This doesn't change anything about how it's formatted, but extracts a new function formatCodespacesForSelect so we can test and see how it treats the different combinations of codespaces. Co-authored-by: Mislav Marohnić <mislav@github.com>