In a large bowl, whisk the flour, cocoa powder, cornstarch, baking powder, salt, and espresso powder until well mixed.
Using a stand mixer fitted with the paddle attachment or using an electric hand-mixer, beat sugar and softened butter for around 1 minute. Mixture will look sandy.