chemical Pregnancy

I got a positive test then 3days later I had what I believe to be a chemical pregnancy. I tested after the bleeding stopped and still had a really faint positive. How long after a chemical pregnancy do you stop getting positive tests?