Skip to content

Conversation

@elv-nate
Copy link
Contributor

I noticed that it was quite hard to find information on how to test for event emission, and the best resources were just stackoverflow posts that were fairly hard to find. As such, I added this documentation and also added an example of testing for an event to the node template.

Related PR on the node template: paritytech/substrate#12722.

@netlify
Copy link

netlify bot commented Nov 16, 2022

Deploy Preview for substrate-docs ready!

Name Link
🔨 Latest commit a85b3eb
🔍 Latest deploy log https://app.netlify.com/sites/substrate-docs/deploys/637bf9aabfb05c000891a743
😎 Deploy Preview https://deploy-preview-1625--substrate-docs.netlify.app/test/unit-testing
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@lisa-parity
Copy link
Contributor

@elv-nate, thanks for suggesting this addition!

@lisa-parity lisa-parity merged commit b3ed636 into polkadot-developers:main Nov 22, 2022
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