Skip to content

Commit

Permalink
Merge pull request #81 from inovex/fix/deleted-source-event-bug-mockery
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndr13 authored Oct 15, 2023
2 parents c573c53 + 8f070bb commit 6ff961d
Show file tree
Hide file tree
Showing 4 changed files with 286 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .mockery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
inpackage: false
dir: "{{.InterfaceDirRelative}}/mocks"
mockname: "{{.InterfaceName}}"
outpkg: "mocks"
filename: "{{.InterfaceName}}.go"
packages:
github.com/inovex/CalendarSync/internal/sync:
config:
recursive: True
interfaces:
Source:
Sink:
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ vendor: ## Vendor dependencies
## Test

test: ## Run all tests
$(GO) run github.com/vektra/mockery/v2@v2.34.2
$(GOTEST) -race $(GOLIST)

coverage: ## Run tests with coverage and export it into 'profile.cov'. If 'COVERAGE_EXPORT' is true, 'COVERAGE_FILE' is written
Expand Down
181 changes: 180 additions & 1 deletion internal/sync/mocks/Sink.go

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

94 changes: 93 additions & 1 deletion internal/sync/mocks/Source.go

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

0 comments on commit 6ff961d

Please sign in to comment.