Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@embark/tests): Fix failing test with
—node=embark
## Problem When using `embark test —node=embark` with the test app, the test that listens for contract events would always fail after timing out. Funnily enough, after the timeout, the subsequent test would run, executing a method that would ulimately fire the event listened for in the previous test, causing the second test to fail as well. ## Solution (workaround) Update the contract events listener test in the test app to execute the `set2` method twice, successfully working around the issue. ## NOTES The cause of the issue is unknown and why the workaround works is also unknown. This change works with both `embark test` and `embark test —node=embark`.
- Loading branch information