refactor(sidebar): Refactored shared sidebar component tests to Jest Closes #58830 See merge request gitlab-org/gitlab-ce!27688