From 992d82c806154ef329276da8e96f5aa255fab74d Mon Sep 17 00:00:00 2001 From: vyzaldysanchez Date: Tue, 17 Dec 2024 13:04:29 -0400 Subject: [PATCH] Updates mockery files --- .mockery.yaml | 10 +--------- deployment/.mockery.yaml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 deployment/.mockery.yaml 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