You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.
Checking the data emitted by an event is possible using the js testing framework but is not showcased on the docs
Suggest A Solution
Include a subsection on the Send Transactions section telling how to it and including a little example.
Message from Amit explaining how it works
when executing a transaction, the result from its promise contains an events array which should give you it.
some old code of mine which should mostly work still, except might be result[0].events instead of result.events:
Issue To Be Solved
Checking the data emitted by an event is possible using the js testing framework but is not showcased on the docs
Suggest A Solution
Include a subsection on the Send Transactions section telling how to it and including a little example.
Message from Amit explaining how it works
when executing a transaction, the result from its promise contains an events array which should give you it.
some old code of mine which should mostly work still, except might be result[0].events instead of result.events:
This is how
result[0].events
looks like with a single eventThe text was updated successfully, but these errors were encountered: