To anticipate something is to think that it will happen.
Carrie anticipated the arrival of her baby.
Example picture