Miscarriage???

I didn’t test before I started bleeding insanely heavy. I had large clots and severe cramps. I honestly didn’t think there was any way I was pregnant. I don’t know why I decided to test this morning, but I did. I bled for about a week or more. I see a vvvvvfl. I am no longer bleeding. Was it a miscarriage???