This meaning refers to something said or done for amusement rather than seriously.
His comment was meant in jest.
The audience laughed at the king's jest.
This less common use refers to a gesture or action carrying symbolic meaning.
The flowers were a kind jest of friendship.
He offered to pay as a generous jest.