can a dollar tree pregnancy test detect a pregnancy 6 days before period?

i just tested today 12/18 and i got a negative right away, i’m wondering if this has happened to anyone? i would be four weeks today if i am pregnant.