RE: My First Steem.js Adventure, Part 3: jQuery, Dates & More Promises (Almost Done!)

You are viewing a single comment's thread from:

My First Steem.js Adventure, Part 3: jQuery, Dates & More Promises (Almost Done!)

in steemdev •  7 years ago 

Nice job. I don't know if you can be 'promise happy', that's part of the JS async, single threaded model! But nice job completing a project.

For testing, the tool used nowdays is Jest mostly. It was built for React but you can use it with anything (we use it with Vue and jquery). There is a jquery example here.

Testing has a steep learning curve, but you are definitely on your way!

Getting a github pages up would be the best way to share. I actually have an article using steemjs in react, you could apply the same things to get your page working entirely on the client.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

I couldn't tell if I was just throwing my promises all over the place after I learned how to use them 😆 But good to know that it's just part of making these things work!

Yeah actually Thinkful teaches mocha and chai, but my mentor uses Jest so I think I'll end up trying it out either in my next project or after I'm done with the program. I'm surprised how complicated testing seems to be! I'm ready to get some more experience with the project I'm working on.

Thanks for reading! 🙂