I looked up "Das wäre ja gelacht" on DeepL which said it meant "that is laughable", which makes sense. But another source (a commenter on Duolingo) said it means "that will certainly succeed." I've tried looking it up on Google but could not find a definitive answer (not in English, anyway - the German ones I couldn't understand).
Can anyone give an example of the context in which this expression would be used?