miracoly
Results
1
comments of
miracoly
Extending [rubennaatjes idea](https://github.com/nuxt/test-utils/issues/551#issuecomment-1836958013), this is what worked for me: ```ts const getFakeCall = vi.fn(); registerEndpoint('/api/fake-call', getFakeCall); describe('fake-call', () => { test('test 1', async () => { getFakeCall.mockImplementation(() => ({ test:...