Heat up the last tbsp of olive oil in the wok.
Chop and sauté the other 2 onions.
Deseed and chop the red pepper, if you’re using that. Add to the pan and stir.
Deseed and chop the yellow bell pepper. Add to the pan and stir. Make sure the pan’s on low heat.
Now, blend all the ingredients for the rocket pesto until it has a nice texture. It doesn’t have to be super smooth, but it shouldn’t be too crunchy either. If the latter’s the case, you can add another tbsp of olive oil, but better yet: add some water from the pasta you've got cooking (1 tbsp at a time). The starch from the pasta makes for a nice binder. (Using ‘normal’ water can give off a bland taste to your pesto, too.)
Peel and crush/chop/slice the garlic. Add to the pan and stir for on low heat for about 1 minute.
Drain the pasta and add it to the wok, together with the pesto.
Slice the sundried tomatoes into tiny pieces and add them, too.
Serve with some left-over rocket and sprinkle the other pine nuts and some basil leaves on top. Voila!