该下列句子保持原意

问题描述:

该下列句子保持原意
The girl was surprised to pass the exam.
( )her surprise,the girl passed the exam.

To her surprise
to引导的不定式作状语