Make a pesto by processing the basil, pine nuts, garlic and cheese with enough olive oil to create a paste.
Fry the onions until translucent and then add the chicken.
Brown the chicken
Add the spinach until wilted.
Add the pesto and stir until well combined
Turn the heat all the way down and slowly stir in the cream.