Dictionary.com
Thesaurus.com

had been wisecracking

  • past perfect progressive
    of wisecrack.
    wisecrack
    noun
    a smart or facetious remark.