While it was not a design requirement, the option for an extended mission past Saturn was always protected, unless it meant compromising a major mission objective at Jupiter or Saturn.
Even though the probability of Voyager 2 lasting another five years was calculated to be in the range of 60 to 70 percent -- well below NASA's usual acceptable probability-of-success threshold -- the decision was made to send Voyager on to Uranus.
After its Uranus encounter, Voyager 2 still carried 48% of the hydrazine initially loaded into its tanks, eight-and-a-half years before.
[1]: doi:10.1016/0094-5765(87)90096-8 (can be found on the hub of science)
Edit: There's more about that in the NASA link in a sibling comment.
Light sails. Laser propulsion. Photon rockets. None of which apply to Voyager. But none of which are laughably dismissible.