01 - Combine basil leaves, pine nuts, Parmesan, and garlic in a food processor. Pulse until finely chopped. With the motor running, slowly drizzle in the olive oil. Add salt, pepper, and lemon juice, and blend until smooth. Adjust seasoning to taste.
02 - Bring a large pot of salted water to a boil. Add gnocchi and cook according to package instructions, usually until they float to the surface (2–3 minutes). Drain, reserving 1/4 cup of the cooking water.
03 - While the gnocchi cook, heat 1 tbsp olive oil in a large skillet over medium heat. Add spinach and sauté for 1–2 minutes until just wilted.
04 - Add the drained gnocchi to the skillet with spinach. Pour in the pesto and a splash of reserved cooking water, tossing gently to coat everything evenly.
05 - Divide among plates and top with extra Parmesan and a grind of black pepper.