an amusing or mocking act or utterance; a joke
a way of behaving, speaking, etc that is not intended to be taken seriously
He said it in jest
Middle English geste deed, exploit, via Old French from Latin gesta deeds, from gerere to do. In the 13th cent. the word denoted a romantic tale of heroic exploits, hence an entertaining or funny story