Cook pasta according to package instructions. Drain and set aside.
In a large pan, heat olive oil over medium heat. Add chopped onion and garlic and cook until onion is translucent, about 5 minutes.
Add sliced mushrooms to the pan and cook until mushrooms have softened, about 5-7 minutes.
Add fresh spinach to the pan and cook until wilted, about 2-3 minutes.
Pour in heavy cream and stir until well combined. Bring to a simmer and let cook for 5-7 minutes.
Add grated parmesan cheese to the pan and stir until cheese has melted and the sauce has thickened, about 2-3 minutes.
Season with salt and pepper to taste.
Add cooked pasta to the pan and toss until well coated with sauce. Serve hot and enjoy!