01 - Bring a large pot of salted water to a boil. Add the gnocchi and cook according to package instructions, usually 2–3 minutes, until they float. Drain and set aside.
02 - While the gnocchi cook, heat olive oil in a large skillet over medium heat. Add the minced garlic and sauté for 30 seconds until fragrant.
03 - Add the spinach and cook, stirring, until just wilted, about 1–2 minutes.
04 - Add the drained gnocchi to the skillet. Toss gently to combine with the spinach and garlic.
05 - Remove the skillet from heat. Stir in the basil pesto and half of the Parmesan cheese, mixing until the gnocchi are well coated and everything is heated through. Season with salt and black pepper to taste.
06 - Serve immediately, garnished with the remaining Parmesan cheese.