How long does a positive stay a positive?

If I were to take a positive test but wait to surprise my husband with it, I assume if a pink lines test is positive it just stays positive right? I know I've heard the digitals turn off eventually but how long until that happens?