Replace vi.mocked($fetch) with a properly stubbed global mock using vi.stubGlobal() to fix test failures