diff --git a/.mockery.yaml b/.mockery.yaml index c2cb336c0a2..dd9024cc066 100644 --- a/.mockery.yaml +++ b/.mockery.yaml @@ -597,12 +597,4 @@ packages: dir: "{{ .InterfaceDir }}" github.com/smartcontractkit/chainlink/v2/core/capabilities/targets: interfaces: - ContractValueGetter: - github.com/smartcontractkit/chainlink/deployment: - interfaces: - OffchainClient: - config: - mockname: "Mock{{ .InterfaceName }}" - filename: offchain_client_mock.go - inpackage: true - dir: "{{ .InterfaceDir }}/mocks" \ No newline at end of file + ContractValueGetter: \ No newline at end of file diff --git a/deployment/.mockery.yaml b/deployment/.mockery.yaml new file mode 100644 index 00000000000..79e4d52104a --- /dev/null +++ b/deployment/.mockery.yaml @@ -0,0 +1,13 @@ +dir: "{{ .InterfaceDir }}/mocks" +mockname: "{{ .InterfaceName }}" +outpkg: mocks +filename: "{{ .InterfaceName | snakecase }}.go" +packages: + github.com/smartcontractkit/chainlink/deployment: + interfaces: + OffchainClient: + config: + mockname: "Mock{{ .InterfaceName }}" + filename: offchain_client_mock.go + inpackage: true + dir: "{{ .InterfaceDir }}/mocks" \ No newline at end of file