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
My usecase is testing Blockly code2blockly and blockly2code functions. Since Blockly is a very mutable javascript library, both code2blockly and blockly2code have Effect types. In order to test my implementation of these functions I can take some code and basically run code2blockly followed by blockly2code and I should get the original code back. Currently I'm doing this with unsafePerformEffect 😱 but since tests are actually Effects I don't think this is really necessary.
Hi! I just wanted to check in to see if there were any recommendations for effectful testing? I was trying to port a Haskell program that uses monadicIO and ran into this. If there is a coommon workaround, I'd love to know. Thanks!
Activity
mikesol commentedon Jun 16, 2020
Hi! I just wanted to check in to see if there were any recommendations for effectful testing? I was trying to port a Haskell program that uses
monadicIOand ran into this. If there is a coommon workaround, I'd love to know. Thanks!