WeTransfer / Mocker

Mock Alamofire and URLSession requests without touching your code implementation
MIT License
1.1k stars 96 forks source link

add mock.unregister so that it can run parrallel? #120

Closed aelam closed 2 years ago

aelam commented 2 years ago

If Xcode runs tests in parallel it might be a problem that all requests are registered in the same domain

unregister could help out?

github-actions[bot] commented 2 years 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.

farrasdoko commented 2 years ago

you can use Mocker.removeAll() to unregister all registered mocks.