You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While writing tests for an API that uses Octokit I was unable to mock out the BranchProtection responses, as EnforceAdmins has no ctor that allows the response object to be created with the desired fields.
The text was updated successfully, but these errors were encountered:
While writing tests for an API that uses Octokit I was unable to mock out the BranchProtection responses, as
EnforceAdmins
has noctor
that allows the response object to be created with the desired fields.The text was updated successfully, but these errors were encountered: