Skip to content

Add td.func().reset() to reset spy/stub state - #551

Open
MatrixNeoKozak wants to merge 1 commit into
testdouble:mainfrom
MatrixNeoKozak:fix/add-td-func-reset-to-reset-spy-stub-state-1791876746773
Open

MatrixNeoKozak wants to merge 1 commit into
testdouble:mainfrom
MatrixNeoKozak:fix/add-td-func-reset-to-reset-spy-stub-state-1791876746773

Conversation

@MatrixNeoKozak

Copy link
Copy Markdown

What

Allows resetting individual test double spy/stub state by calling .reset() on the test double instance, avoiding the need to recreate or replace module dependencies between test cases.

Why

This change resolves the target issue or improvement.

How to test

Verify that the project builds/runs correctly and the specific bug/improvement is addressed.

Fixes #529

This branch has not been deployed

No deployments
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.

Feature request: td.func().reset() (reset spy/stub state)

2 participants