• Xanvial@lemmy.one
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    But on unit test, you’re testing that specific function. How the other function works, should not be our concerns, just handle the mock based on contract or expected output

    For testing the whole flow, should use other tests like Integration tests