Dice the eggplants, place them in a colander and spatter them with a teaspoon of salt.
Clean and cut the cherry tomatoes in two or four.
Peel and smash the garlic clove with the blade of a big knife.
Heat a tablespoon of olive oil in a large pan and brown the garlic. Remove it and add the eggplants.
Cover and cook, medium heat and stirring every now and then, until the eggplants are well cooked - no white parts - and a little crust forms on the surface.
Transfer them to a bowl, pour another teaspoon of olive oil into the pan, add the tomatoes, sprinkle them with a pinch of salt, cover and cook about ten minutes.
Bring a big pot of salted water - about 8 cups and two teaspoons of salt - to a bowl. Toss in the pasta and cook it according to package directions.
Cut a few leaves of basil with your hands and sprinkle the tomatoes. Toss in the eggplants and mix, turn off the heat, cover, and set aside.