How can I mock AI in jest - eviltoast

Context: jest is a Javascript testing library, mocking is something you do in test in order not to use production services. AI understood both terms in a none programming context

  • JustARegularNerd@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

    In this case though, it’s not a hallucination, there’s nothing false in that response, it just completely misinterpreted what the user was asking.