Prep Time 20 minutes mins
Cook Time 18 minutes mins
Resting Time 30 minutes mins
Total Time 1 hour hr 8 minutes mins
For best results, use room-temperature ingredients to ensure a smooth batter and even rise, and avoid overmixing once the flour is added to keep the cupcakes tender. Lightly toss raspberries in a spoonful of flour before folding them into the batter to help prevent them from sinking. Toasting the nuts beforehand deepens their flavor and keeps them crunchy inside the moist cupcake. If the frosting seems too soft, chill it for 10 to 15 minutes before piping, and if it becomes too stiff, beat in an extra teaspoon of cream at a time. Store cupcakes in an airtight container in the refrigerator and let them sit at room temperature for about 20 minutes before serving to bring back their soft texture and rich chocolate-raspberry flavor.