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
On building integration tests for complex smart contracts it is very important to test correct logging of events. Events are the bridge of data between the smart contract's state history and user facing frontend applications. Usually a complex service involves a indexing service that picks up events and logs them to a DB instance, for further processing.
Therefore, it seems very relevant to test the emission of events on integration tests, yet I've found no framework for doing so in workspaces.js' documentation.
Am I missing something? Is there a way to perform assertions on emitted events in the current version?
If not, I believe this would be a very beneficial feature add.
The text was updated successfully, but these errors were encountered:
On building integration tests for complex smart contracts it is very important to test correct logging of events. Events are the bridge of data between the smart contract's state history and user facing frontend applications. Usually a complex service involves a indexing service that picks up events and logs them to a DB instance, for further processing.
Therefore, it seems very relevant to test the emission of events on integration tests, yet I've found no framework for doing so in workspaces.js' documentation.
Am I missing something? Is there a way to perform assertions on emitted events in the current version?
If not, I believe this would be a very beneficial feature add.
The text was updated successfully, but these errors were encountered: