Skip to content

Commit

Permalink
run mockery with with-expecter option (#110)
Browse files Browse the repository at this point in the history
Co-authored-by: Amin Cheloh <amin.celoh@lotuss.com>
  • Loading branch information
amincheloh and Amin Cheloh authored Nov 8, 2023
1 parent 5c6fc65 commit 922a839
Show file tree
Hide file tree
Showing 11 changed files with 3,837 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ run-mockgen:
@mockgen -destination=mocks/gomock/mocks.go -package mocks . ChangeStream,Client,Collection,Cursor,Database,IndexView,Session,SingleResult,SessionContext,ClientEncryption

run-mockery:
@mockery --all --srcpkg github.com/sv-tools/mongoifc --output mocks/mockery --disable-version-string --case underscore
@mockery --all --with-expecter --srcpkg github.com/sv-tools/mongoifc --output mocks/mockery --disable-version-string --case underscore

clean-mocks:
@rm -rf mocks
Expand Down
256 changes: 256 additions & 0 deletions mocks/mockery/change_stream.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 922a839

Please sign in to comment.