Wiktionary
spit the dummy
vb. (context idiomatic English) To overreact (as an adult) to a situation childishly, in an angry or frustrated manner.