Cook the gnocchi according to the package instructions in salted water. Usually about 2-3 minutes.
Add the olive oil to a 12-14 inch skillet over medium-high heat. Add in the chicken and season with salt and pepper. Cook until the liquid runs clear, 5-7 minutes.
Next, add the sun-dried tomatoes and spinach. Stir to make sure the spinach gets incorporated.
Add in the gnocchi and pesto and stir until everything is coated with the pesto.
Stir in the pine nuts and mix well.
Top with parmesan cheese to serve.