Preheat the oven to 350˚F.
In a small pot of boiling water, cook the gnocchi according to the package directions, or until tender.
Drain and toss with a drizzle of olive oil and the basil pesto.
Transfer to a shallow baking dish and top with the cheeses.
Bake for 15 minutes, or until the cheese is bubbly and the gnocchi is heated through.