How to Make It
To make the cake: Position a rack in the center of the oven and preheat to 325°F. Coat a 9-by-13-by2-inch cake pan or dish with nonstick cooking spray. If you’re using a metal pan, line the bottom and sides with foil or parchment paper and spray again.
Set a box grater on some paper towels and grate the zucchini on the large holes. Spread it out on the paper towels, top with more paper towels, and press gently to remove excess moisture.
Sift the flour, cocoa powder, cinnamon, baking soda, baking powder, and salt into a large bowl. Whisk the sugar, buttermilk, oil, eggs, and vanilla in a medium bowl until very smooth. Make a well in the dry ingredients and pour in the wet ingredients. Whisk, gradually drawing in the dry ingredients, just until smooth. Fold in the zucchini and chocolate chips with a silicone spatula until evenly incorporated. Spread the batter in an even layer in the prepared pan.
Bake the cake until a toothpick inserted in the center comes out clean and the top springs back a little when lightly pressed with a fingertip, 45 to 50 minutes. Cool completely in the pan on a rack.
Meanwhile, make the frosting: Bring the sweet potato puree to a simmer in a large saucepan over medium heat, stirring frequently. Remove from the heat and add the chocolate. Stir until smooth. Cool, stirring occasionally, until the mixture is at room temperature and the consistency of canned frosting. It should hold soft peaks when you lift the spatula from the pan but not be stiff. Spread the frosting all over the top of the cake, creating swoops and swirls.
Make Ahead: The cake is best the day it’s made, when the chocolate chips are still a bit melty and the frosting is soft, but it will keep in the refrigerator for up to 3 days.
• Use unsweetened pure canned sweet potato puree; it’s usually stocked near the canned pumpkin. Freshly cooked and pureed sweet potato is too granular and thick.
• Chocolate with a cacao content between 55 and 60% makes the frosting perfectly sweet and smooth.
• A glass or ceramic dish is nice for a sheet cake. Bake the cake in the greased dish, cool completely, and frost. You can cut it into pieces right in the dish. I have a Pyrex dish that comes with a stiff plastic lid, making it simple to tote to parties at school or a friend’s house.
• If you plan to cut your cake ahead and place the pieces on a serving platter, use a metal pan. Generally I prefer straight-sided metal cake pans, which produce clean edges. Line the bottom and sides with foil or parchment paper and grease the foil or paper. Once the cake has cooled completely, lift it out using the foil, then frost and cut it. To get perfect slices, you can freeze the frosted cake until firm before slicing, then bring it to room temperature before serving.
Excerpted from BETTER BAKING, (c) 2016 by Genevieve Ko. Reproduced by permission of Houghton Mifflin Harcourt/Rux Martin Books. All rights reserved.