In a large bowl combine the pesto and spinach.
Bring a large pot of salted water to a boil. Add the gnocchi and cook according to package directions, adding the peas during the final minute of cooking. Drain the gnocchi and peas and immediately add them to the bowl; toss to coat and wilt the spinach. Sprinkle with the mozzarella and season with pepper.