Add the cream, pesto, wine and garlic to a large skillet on medium heat.
Stir in the gnocchi once the sauce begins to bubble. Cover the pan for 5 minutes.
Remove the lid and give it a good shake. Continue cooking it for two more minutes while stirring frequently (the sauce will quickly thicken as the gnocchi release more starch).
When the sauce has reached the desired thickness, add the parmesan. Add more wine or cream if the sauce becomes too thick. Serve immediately and season with salt and pepper.