You are viewing a single comment's thread from:

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

in #steemdev7 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.

Sort:  

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! 🙂

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.028
BTC 60202.34
ETH 2423.33
USDT 1.00
SBD 2.43