Cut the beef into bite-sized pieces.
Slice the onion and garlic thinly.
Boil the pasta noodles.
Heat olive oil in a pan and sauté the garlic and onion.
Add the beef and stir-fry over high heat.
Add the cooked pasta noodles to the pan.
Add basil pesto and quickly toss everything together.
Season with salt and pepper.
Plate and sprinkle Parmesan cheese on top.