update tooling (#5038)

* update tooling

* update nodejs version
This commit is contained in:
Willy Kloucek
2022-11-11 15:01:45 +01:00
committed by GitHub
parent cd2a3e57bc
commit d74b879d4f
31 changed files with 310 additions and 58 deletions
+16 -1
View File
@@ -1,4 +1,4 @@
// Code generated by mockery v2.10.4. DO NOT EDIT.
// Code generated by mockery v2.14.1. DO NOT EDIT.
package mocks
@@ -35,3 +35,18 @@ func (_m *HTTPClient) Do(req *http.Request) (*http.Response, error) {
return r0, r1
}
type mockConstructorTestingTNewHTTPClient interface {
mock.TestingT
Cleanup(func())
}
// NewHTTPClient creates a new instance of HTTPClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func NewHTTPClient(t mockConstructorTestingTNewHTTPClient) *HTTPClient {
mock := &HTTPClient{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}