Tesla.Mock.mock

You're seeing just the function mock, go back to Tesla.Mock module for more information.

Specs

mock((Tesla.Env.t() -> Tesla.Env.t() | {integer(), map(), any()})) ::
  no_return()

Setup mocks for current test.

This mock will only be available to the current process.