This PR migrates our tests from using our homemade httpmock package with the third-party gock package. gock provides all the functionality that httpmock does and more. It also has a nice declarative DSL that is easier to understand, in my opinion. This is an alternative to https://github.com/cli/go-gh/pull/29.
This PR migrates our tests from using our homemade
httpmock
package with the third-partygock
package.gock
provides all the functionality thathttpmock
does and more. It also has a nice declarative DSL that is easier to understand, in my opinion. This is an alternative to https://github.com/cli/go-gh/pull/29.cc https://github.com/cli/go-gh/issues/28