The Britain’s Got Talent judge worked with her comedian friend on the project