I haven't heard of "heart spasm", but I do know about pericarditis.
It sort of mimics a heart attack, and is less common, so you get treated like you are having a heart attack until they can rule it out.
I spent half of this past New Years weekend in ER & ICU with this.