2

This question is a follow up onto this one. I have tried following the suggestion in the answer of adding a done() method that fires when an error occurs (an exception is raised) but it doesn't when I test the code.

Does anybody have a minimal setup that can test state changing contract method calls? (in my example, the call() method that read the blockchain works fine (an error is thrown if the expected strange and it passes if not)).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.