Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests for MutableSideEffect #1391

Merged

Conversation

3vilhamster
Copy link
Member

What changed?
Added unit tests for MutableSideEffect

Why?
Unit tests coverage

How did you test it?

Potential risks

Copy link

codecov bot commented Nov 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.83%. Comparing base (aa18e1d) to head (0cebdec).
Report is 1 commits behind head on master.

Additional details and impacted files

see 4 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aa18e1d...0cebdec. Read the comment docs.

weh := testWorkflowExecutionEventHandler(t, newRegistry())

result := weh.MutableSideEffect("test-id", func() interface{} {
return "existing-value"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I guess it's a new value, not an existing value

@3vilhamster 3vilhamster merged commit c4a8e17 into cadence-workflow:master Nov 6, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants