Tesla.Mock.mock_global
You're seeing just the function
mock_global
, go back to Tesla.Mock module for more information.
Specs
mock_global((Tesla.Env.t() -> Tesla.Env.t() | {integer(), map(), any()})) :: no_return()
Setup global mocks.
WARNING: This mock will be available to ALL processes. It might cause conflicts when running tests in parallel!