Skip to content

Commit c213bca

Browse files
committed
update mockery config
1 parent e285614 commit c213bca

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.mockery.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
# https://vektra.github.io/mockery/latest/configuration/
22

3-
issue-845-fix: true
3+
exclude: [vendor]
4+
with-expecter: true
5+
filename: mock_{{ .InterfaceName | snakecase }}_test.go
6+
mockname: Mock{{ .InterfaceName | firstUpper }}
7+
dir: "{{ .InterfaceDir }}"
8+
#outpkg: "mocks"
9+
inpackage: true
10+
resolve-type-alias: false
11+
issue-845-fix: true # https://vektra.github.io/mockery/v2.49/deprecations/#issue-845-fix
12+
413

514
packages:
615
github.com/moukoublen/goboilerplate:
716
config:
817
all: true
918
recursive: true
10-
exclude: [vendor]
11-
with-expecter: true
12-
filename: mock_{{ .InterfaceName | snakecase }}_test.go
13-
mockname: Mock{{ .InterfaceName | firstUpper }}
14-
dir: "{{ .InterfaceDir }}"
15-
#outpkg: "mocks"
16-
inpackage: true
19+

0 commit comments

Comments
 (0)