I guess it depends on the extent of the prank, amount of people involved, nature of the prank and corresponding reactions (i.e. to the prank itself and to the revealment).
Im pretty easy-going so I think Id take it well
It would take me a little longer to get over it if the revealment led to feelings of disappointment rather than relief.