API Authentication with Node - Part #10 - Unit Testing

in #technology7 years ago

Description 💻

In the tenth part of API authentication with Node series, we'll learn about unit testing our server code so far. We'll write unit tests and make sure that we have a good coverage.

We're going to use mocha, chai and sinon for writing these tests.

In case you're looking to learn Node, Express, MongoDB, React, client-side validation, server-side validation and more this series should be interesting to you.

Video 🎥

Want to support CodeWorkr? 💖 🌍

To be clear - I'm creating these posts/videos because I enjoy it and I like helping others when I can without expecting anything in return, however, in case you like these posts and I mean you've got to really, really like them to read this section - and would like to support me, first of all, that'd be amazing - thank you very much, secondly, these are some of the ways you can help:

  • Upvote this post
  • Send STEEM to @codeworkr
  • Follow CodeWorkr on Steemit
  • Subscribe to CodeWorkr on Youtube
  • Follow CodeWorkr on Twitter
  • Like CodeWorkr on Facebook
  • BTC 1PAtL34zjj8hKfVziZVe5Yz6HCH7G2iYyx
Sort:  

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by codeworkr from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews/crimsonclad, and netuoso. The goal is to help Steemit grow by supporting Minnows and creating a social network. Please find us in the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP. Be sure to leave at least 50SP undelegated on your account.

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.028
BTC 55981.35
ETH 2368.76
USDT 1.00
SBD 2.35