View Source GitHub.Plugin.TestClient (GitHub REST API Client v0.0.8)

Local client used for testing purposes

For more information on the testing facilities available in this library, see GitHub.Testing.

Link to this section Summary

Functions

Perform a client operation using mocks, and record the call for later assertions

Link to this section Functions

Link to this function

request(operation, opts)

View Source
@spec request(
  GitHub.Operation.t(),
  keyword()
) :: {:ok, GitHub.Operation.t()} | {:error, GitHub.Error.t()}

Perform a client operation using mocks, and record the call for later assertions