Does anyone have examples of how to mock data from tRPC procedure calls? I have client components that are fetching data using tRPC , and I want to run integration tests.
I have been attempting to use
vi.mock()
vi.mock()
to mock this data but I haven't gotten it to work correctly. Thanks in advance!