How does the sentence end?

John emptied the entire bowl of cookie batter onto the cooking pan until the
pan was full.