how to tell my best friend about my bfp after her miscarriage?

Shawn
I originally heard about Glow from my bestfriend, She just found out she was pregnant and suggested this app to me since it worked so well for her. I found out yesterday that she lost the baby. I have an appointment today at the clinic to take a pregnancy test. My AF is late by around 5 days. I was so excited to go on this journey with my best friend but now I dont know what to do if I get my BFP, she was going to be the first person I told but now she is in a very sad place and I dont want to hurt her. Any advice on when or how to tell my best friend about my bfp after she just had a miscarriage?