Skip to content

test: add missing assertions for setup blocks in analytics tests - #222

Open
jadonamite wants to merge 1 commit into
sanmipaul:mainfrom
jadonamite:patch-4
Open

test: add missing assertions for setup blocks in analytics tests#222
jadonamite wants to merge 1 commit into
sanmipaul:mainfrom
jadonamite:patch-4

Conversation

@jadonamite

Copy link
Copy Markdown

Updates the "tracks user activity" test to capture the mined setup block and actively assert that the record-deposit transaction succeeds before querying the read-only function. This is a critical testing practice to prevent silent failures during test setup from causing confusing downstream errors (like .expectSome() failing because the deposit never actually happened).

Updates the "tracks user activity" test to capture the mined setup block and actively assert that the record-deposit transaction succeeds before querying the read-only function. This is a critical testing practice to prevent silent failures during test setup from causing confusing downstream errors (like .expectSome() failing because the deposit never actually happened).
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.

1 participant