Closed gzlboy closed 3 months ago
This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 10 days.
It sounds like you might be wanting to use the "opt in" mode, where the Mocker will only handle requests for URL that were registered, and all other requests will be handled normally. For example, you could add this line when setting up the mocker:
Mocker.mode = .optin
This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 10 days.
I integrated Mocker according to the documentation and found that all requests without register will also prompt "No mocked data found for url". Can URLs without register be requested directly?