Anyone know the answer??

Will a digital pregnancy test with the weeks show if you miscarried several weeks ago or not? Dumb question I know but I was always told the only dumb question was a question you never asked!😂🤷🏻‍♀️