In a large pot, bring salted water to a boil. Add the gnocchi and cook according to package instructions until they float (typically about 2-3 minutes for store-bought). Drain and set aside.
In a large skillet over medium heat, add the minced garlic and sauté for about 1 minute until fragrant.
Pour in the heavy cream and bring it to a gentle simmer. Stir in the grated Parmesan cheese and Italian seasoning until melted and creamy.
Add the chopped spinach and halved cherry tomatoes to the skillet. Cook for 2-3 minutes until the spinach wilts and the tomatoes soften.
Carefully fold in the cooked gnocchi, ensuring they are evenly coated with the creamy sauce. Season with salt and black pepper to taste.
Transfer the gnocchi mixture to a greased 9x13 inch baking dish. Top it with shredded mozzarella cheese.
Bake in the preheated oven for 20-25 minutes, or until the cheese is bubbly and golden brown.
Remove from the oven and let it rest for 5 minutes before serving.
Garnish with fresh basil leaves if desired, for an extra pop of color and flavor.