I recommend using a cake tester. Once the time has passed, per the recipe, insert the cake tester in the middle of one of the cupcakes and once it comes out clean, with no cake batter on it, then it's done.