If we have some program that uses let epoch_now = Clock::get()?.epoch;
and we want to write typescript tests around what happens when the epoch advances, is there a way to advance the localnet time or make epochs on localnet very short (e.g., several seconds)?
For time, it's easy to compile with a localnet flag that turns any time-equivalent into something small like a few seconds. For epochs, they are unfortunately always two days.
Obviously waiting 2 days is not ideal.